summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-10-18 15:49:29 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-10-18 16:15:08 +0200
commit1936d6ed2662c125a1ebabfed65b154a8015524c (patch)
treeebdb8b00a2fe975f194c7d7456d96f2a8d3d0deb
parentaf99a4a1dec3f08e70e3d6ae83cf686616a1323f (diff)
avidemux: Only call convert function if we have strf.auds
-rw-r--r--gst/avi/gstavidemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index c702eb402..371c02ef2 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -1239,7 +1239,7 @@ gst_avi_demux_get_buffer_info (GstAviDemux * avi, GstAviStream * stream,
*ts_end = avi_stream_convert_frames_to_time_unchecked (stream,
entry_n + 1);
}
- } else {
+ } else if (stream->strh->type == GST_RIFF_FCC_auds) {
/* constant rate stream */
if (timestamp)
*timestamp =