Commit 7a6752a7 authored by Seungha Yang's avatar Seungha Yang Committed by Edward Hervey

qtdemux: Skip seeking query if upstream format is time

Don't need to querying byte-format seeking for time-format
upstream case
parent d3f5aa26
......@@ -6052,6 +6052,9 @@ gst_qtdemux_check_seekability (GstQTDemux * demux)
if (demux->upstream_size)
if (demux->upstream_format_is_time)
query = gst_query_new_seeking (GST_FORMAT_BYTES);
if (!gst_pad_peer_query (demux->sinkpad, query)) {
GST_DEBUG_OBJECT (demux, "seeking query failed");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment