[Bug 781446] rtsp: Add support for the new RTSP 2.0 protocol (rfc7826)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jul 9 02:03:31 UTC 2017


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

Olivier CrĂȘte <olivier.crete at ocrete.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #354932|reviewed                    |needs-work
             status|                            |

--- Comment #13 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
Review of attachment 354932:
 --> (https://bugzilla.gnome.org/review?bug=781446&attachment=354932)

::: gst/rtsp/gstrtspsrc.c
@@ +2513,3 @@
+        if (seekable) {
+          if (src->seekable > 0.0) {
+            start = src->last_pos - src->seekable * GST_SECOND;

so, according to that logic, in this case, it shoudl do start=0, just it
shouldnt have the ACCURATE flag on. Even if seekable is 10, Gstreamer should be
able to seek all the way to time 0.. whil putting the segment_start and
segment_end to anything else than 0 and duration means that you can't sek
outside of that range.

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