GNOME Bugzilla – Bug 751047
concat: Add adjust-base property
Last modified: 2015-06-22 12:11:48 UTC
Created attachment 305401 [details] [review] Patch for adding adjust-base property to concat element This adds a new property for disabling segment.base adjustments, which can come in handy when base is already adjusted downstream (like a streamsynchronizer). Example: gst-launch-1.0 -v \ audiotestsrc samplesperbuffer=44100 num-buffers=5 name=a \ audiotestsrc samplesperbuffer=44100 num-buffers=7 name=b \ audiotestsrc samplesperbuffer=44100 num-buffers=3 name=c \ x. ! streamsynchronizer ! fakesink sync=true silent=false \ a. ! x. b. ! x. c. ! x. \ concat name=x adjust-base=false fakesink will output 3 segment events, and their base values will be adjusted - by the streamsynchronizer, not by concat. The combination concat+streamsynchronizer can be used to mimic playbin for an audio/video stream. Audio, video, text etc. streams would each have a concat element, and all of these concat elements would be linked to the stream synchronizer. The concat elements are only used to switch between the streams sequentially ; the stream synchronizer then takes care of adjusting the segments so that both seamless playback and A/V sync are ensured.
commit c50e47343a98054f9fe5d7a2f27122fd20016bd9 Author: Carlos Rafael Giani <dv@pseudoterminal.org> Date: Tue Jun 16 16:14:18 2015 +0200 concat: Add adjust-base property This disables the segment.base adjustments, which is useful if downstream takes care of base adjustments already (example: a combination of concat and streamsynchronizer) https://bugzilla.gnome.org/show_bug.cgi?id=751047