From 1936d6ed2662c125a1ebabfed65b154a8015524c Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sun, 18 Oct 2009 15:49:29 +0200 Subject: [PATCH] avidemux: Only call convert function if we have strf.auds --- gst/avi/gstavidemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index c702eb4028..371c02ef20 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 =