mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
qtdemux: Skip seeking query if upstream format is time
Don't need to querying byte-format seeking for time-format upstream case https://bugzilla.gnome.org/show_bug.cgi?id=776715
This commit is contained in:
parent
d3f5aa2689
commit
7a6752a7e0
1 changed files with 3 additions and 0 deletions
|
@ -6052,6 +6052,9 @@ gst_qtdemux_check_seekability (GstQTDemux * demux)
|
|||
if (demux->upstream_size)
|
||||
return;
|
||||
|
||||
if (demux->upstream_format_is_time)
|
||||
return;
|
||||
|
||||
query = gst_query_new_seeking (GST_FORMAT_BYTES);
|
||||
if (!gst_pad_peer_query (demux->sinkpad, query)) {
|
||||
GST_DEBUG_OBJECT (demux, "seeking query failed");
|
||||
|
|
Loading…
Reference in a new issue