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:
89a3dc2
)
avidemux: Fix duration reporting in push mode
author
Sebastian Dröge
<slomo@circular-chaos.org>
Sun, 28 Jul 2013 15:38:56 +0000
(17:38 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Sun, 28 Jul 2013 15:38:56 +0000
(17:38 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=700933
gst/avi/gstavidemux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavidemux.c
b/gst/avi/gstavidemux.c
index
43a96a8
..
459cf7e
100644
(file)
--- a/
gst/avi/gstavidemux.c
+++ b/
gst/avi/gstavidemux.c
@@
-521,7
+521,8
@@
gst_avi_demux_handle_src_query (GstPad * pad, GstObject * parent,
/* take stream duration, fall back to avih duration */
if ((duration = stream->duration) == -1)
- duration = avi->duration;
+ if ((duration = stream->hdr_duration) == -1)
+ duration = avi->duration;
gst_query_parse_duration (query, &fmt, NULL);