[Bug 762326] gstrtpjitterbuffer GST_QUERY_POSITION reports position and not stream_time

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 19 15:53:18 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #321664|none                        |needs-work
             status|                            |

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 321664:
 --> (https://bugzilla.gnome.org/review?bug=762326&attachment=321664)

::: gst/rtpmanager/gstrtpjitterbuffer.c
@@ +3809,2 @@
       JBUF_LOCK (priv);
+      stream_time_ = priv->stream_time;

I didn't review the other parts yet, but what you really want here is to return
gst_segment_to_stream_time() with the last position. That should give you the
same value unless the segment is wrong, in which case the segment must be fixed
anyway.

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