avidemux: Only call convert function if we have strf.auds
authorEdward Hervey <bilboed@bilboed.com>
Sun, 18 Oct 2009 13:49:29 +0000 (15:49 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sun, 18 Oct 2009 14:15:08 +0000 (16:15 +0200)
gst/avi/gstavidemux.c

index c702eb4..371c02e 100644 (file)
@@ -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 =