[PATCH] queue2: Process SEEKING query

Jan Alexander Steffens jan.steffens at gmail.com
Fri Jul 18 04:53:46 PDT 2014


On Fri, Jul 18, 2014 at 1:32 PM, Jan Alexander Steffens (heftig)
<jan.steffens at gmail.com> wrote:
> 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.
> ---
>  plugins/elements/gstqueue2.c | 52 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 52 insertions(+)
>
> diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c
> index 144c684..fcc3cdc 100644

Sorry about this; I now submitted a bug:
https://bugzilla.gnome.org/show_bug.cgi?id=732335


More information about the gstreamer-devel mailing list