summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2013-02-01 21:57:45 +0100
committerStefan Sauer <ensonic@users.sf.net>2013-02-01 22:00:18 +0100
commitbbf77402f084ee59561e902843ce3420425fdafe (patch)
tree1ee7806e77e7bb633a9093cc4f75cdf18cfd7db1 /docs
parent3f8eff5c7ed35bb0259a7a2da79063f56ee2b862 (diff)
porting: a few updates for the porting guide
Diffstat (limited to 'docs')
-rw-r--r--docs/random/porting-to-1.0.txt21
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/random/porting-to-1.0.txt b/docs/random/porting-to-1.0.txt
index 17dca75dd..97121dc17 100644
--- a/docs/random/porting-to-1.0.txt
+++ b/docs/random/porting-to-1.0.txt
@@ -156,6 +156,7 @@ CHANGES
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
GstActivateMode -> GstPadMode, GST_ACTIVATE_* -> GST_PAD_MODE_*
+ gst_pad_activate_{pull,push}() -> gst_pad_activate_mode()
The GstPadAcceptCapsFunction was removed and replaced with a
GST_QUERY_ACCEPT_CAPS query.
@@ -329,6 +330,9 @@ CHANGES
gst_event_parse_new_segment() -> gst_event_parse_segment() to retrieve the
GstSegment structure from the event.
gst_event_copy_segment() to fill a GstSegment structure.
+
+ gst_event_new_flush_stop() now takes a boolean, which in most cases should
+ be TRUE
* GstQuery
Boxed types derived from GstMiniObject.
@@ -426,6 +430,11 @@ CHANGES
* GstTask
gst_task_create() -> gst_task_new()
+* GstAudio
+ GstBaseAudioSink -> GstAudioBaseSink
+ GstBaseAudioSrc -> GstAudioBaseSrc
+ ...
+
* GstAdapter
gst_adapter_peek() is removed, use gst_adapter_map() and gst_adapter_unmap()
to get access to raw data from the adapter.
@@ -544,12 +553,12 @@ CHANGES
are now attached via GstControlBinding to properties. There are no GValue
arguments used anymore when programming control sources.
- gst_controller_new* -> gst_object_set_control_source
- gst_controller_add_properties -> gst_object_set_control_source
- gst_controller_set_control_source -> gst_object_set_control_source
- gst_controller_get_control_source -> gst_object_get_control_source
-
- gst_controller_set_property_disabled -> gst_object_set_controlled_property_disabled
+ A simple way to attach a ControlSource to a property is:
+ gst_object_add_control_binding (object,
+ gst_direct_control_binding_new (object, property_name, control_source));
+
+ gst_controller_set_property_disabled ->
+ gst_object_set_control_binding_disabled
gst_object_get_value_arrays has been removed. Loop over the controlled
properties fetch the value array. Also GstValueArray is gone. The fields of