Commit 27f84b72 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

docs: update porting-to-0.11.txt a little

parent 4feb6c39
......@@ -60,6 +60,10 @@ The 0.11 porting guide
gst_element_class_add_pad_template() takes ownership of the template
gst_element_class_add_static_pad_template (element_class, &src_template)
=> gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
Elements that change the duration must post DURATION messages on the
bus when the duration changes in PAUSED or PLAYING.
......@@ -329,6 +333,18 @@ The 0.11 porting guide
Some caps functions now take ownership of the input argument, for
efficiency reasons (to avoid unnecessary copies to make them writable):
gst_caps_normalize (caps) => caps = gst_caps_normalize (caps)
gst_caps_do_simplify (caps) => caps = gst_caps_simplify (caps)
gst_caps_merge (caps,caps2) => caps = gst_caps_merge (caps,caps2)
gst_caps_merge_structure (caps,st) => caps = gst_caps_merge_structure (caps,st)
gst_caps_truncate (caps) => caps = gst_caps_truncate (caps)
The compiler should warn about unused return values from these functions,
which may help find the places that need to be updated.
* GstSegment
abs_rate was removed from the public fields, it can be trivially calculated
from the rate field.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment