queue2: Process SEEKING query
@heftig
Submitted by Jan Alexander Steffens Link to original bug (#733351)
Description
Created attachment 281085
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 adds QUERY_SEEKING handling to queue2, so RTMP live
streams become seekable when a queue2 in download or ringbuffer
mode is inserted:
rtmpsrc ! queue2 ! flvdemux
Alternatively, flvdemux could be altered to not require
seekability. I am unsure what is the best approach.
Patch 281085, "patch":
0001-queue2-Process-SEEKING-query.patch