George Kiagiadakis f0500ec8b4 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
2017-08-08 16:00:44 +03:00
..
2017-06-20 09:28:28 +03:00
2017-07-17 09:22:15 +01:00
2017-08-08 16:00:44 +03:00
2017-07-03 10:11:42 +01:00
2017-05-22 16:34:05 +02:00
2017-07-07 17:02:14 +05:30