[Bug 793726] gst-play-1.0 --videosink=fakesink : position gets confused

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 22 16:26:19 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793726

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at ndufresne.ca

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Maybe we got it wrong in gst/gstbin.c. If you look at bin_query_position_fold()
function, we always keep the highest position:

  if (position > fold->max)
      fold->max = position;

If we change from max to min, and keep the lowest, you case will work. Though,
if you have a dangling sink, like:

  videotestsrc ! fakesink sync=1 fakesink async=0

The position will never advance. A bit of thinking will be needed.

-- 
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