[gstreamer-bugs] [Bug 635226] [PATCH] gdppay fails to sync if added to pipeline during playback

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Dec 12 14:55:21 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=635226
  GStreamer | gst-plugins-base | 0.10.31

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2010-12-12 22:55:17 UTC ---
Well, the point is that you need to do a lot of manual work if you're
dynamically changing pipelines, especially when changing sources or sinks.

What you need to do here is to make sure that gdppay gets a valid newsegment
event before any buffers and then the buffers have timestamps that make sense
with the segment configured by the event. But this really is not bug...
although it will be much simpler to do things like this in 0.11.

Essentially what you need to do is to install an event probe and buffer probe
before the valve element, keep track of the currently configured segment and
the timestamps and at the point when you replace valve by gdppay you have to
send a newsegment event to gdppay, that will map the next buffers timestamps to
a running time of 0 (start and position of the newsegment event would be the
timestamp of the next buffer then).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list