[Bug 785941] New: fix flushing seek in rtmpsrc
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Aug 7 11:32:15 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785941
Bug ID: 785941
Summary: fix flushing seek in rtmpsrc
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gkiagia at tolabaki.gr
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 357106
--> https://bugzilla.gnome.org/attachment.cgi?id=357106&action=edit
rtmpsrc: implement unlock_stop() to 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 in unlock_stop().
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()
--
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