GNOME Bugzilla – Bug 733494
flvdemux: build index when upstream is in pull mode
Last modified: 2014-08-11 08:39:08 UTC
Created attachment 281304 [details] [review] patch In order to seek FLV streams, flvdemux creates a seek index; however, this index is not created if upstream is not seekable. gst_flv_demux_check_seekability was copied nearly verbatim from GstBaseParse. This commit allows flvdemux to build the index when upstream is in pull mode, not just when upstream is seekable. This allows timeshifting of live RTMP streams when using queue2 in download or ringbuffer mode: rtmpsrc ! queue2 ! flvdemux Alternatively, queue2 could be altered to advertise seekability downstream. I am unsure what is the best approach.
A patch for the mentioned alternative is at #733351.
Any comment?
Comment on attachment 281304 [details] [review] patch It should only build an index if upstream is seekable, no matter if it's running in pull mode or push mode
Let's fix queue2 instead :)