projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f5aa2
)
qtdemux: Skip seeking query if upstream format is time
author
Seungha Yang
<sh.yang@lge.com>
Mon, 2 Jan 2017 13:16:39 +0000
(22:16 +0900)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 31 Jan 2017 16:09:29 +0000
(17:09 +0100)
Don't need to querying byte-format seeking for time-format
upstream case
https://bugzilla.gnome.org/show_bug.cgi?id=776715
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
a82183d
..
3e2ef06
100644
(file)
--- a/
gst/isomp4/qtdemux.c
+++ b/
gst/isomp4/qtdemux.c
@@
-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");