[Bug 785941] fix flushing seek in rtmpsrc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 8 13:02:18 UTC 2017


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

George Kiagiadakis <gkiagia at tolabaki.gr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.13.1

--- Comment #3 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
commit f0500ec8b429b2ad44ac053982022f16296f51fd
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Mon Aug 7 14:25:26 2017 +0300

    rtmpsrc: fix flushing seek

    Previously this was broken, because a flushing seek causes unlock()
    to be called and in the implementation of unlock() we close the
    socket, so the seek errors out.

    This patch fixes it by re-connecting before the seek.
    Unfortunately, a seek does not work properly right after
    re-connecting, so a small hack is also in place: we read 1 buffer
    before seeking to allow librtmp to do its processing in RTMP_Read()

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

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