avidemux: duration query returns zero for DV video in avi
authorKishore Arepalli <kishore.arepalli@gmail.com>
Wed, 19 Jun 2013 08:30:56 +0000 (10:30 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 19 Jun 2013 09:17:22 +0000 (11:17 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=702625

gst/avi/gstavidemux.c

index 4b4c9cc..e9f7ad1 100644 (file)
@@ -510,7 +510,8 @@ gst_avi_demux_handle_src_query (GstPad * pad, GstObject * parent,
 
       /* only act on audio or video streams */
       if (stream->strh->type != GST_RIFF_FCC_auds &&
-          stream->strh->type != GST_RIFF_FCC_vids) {
+          stream->strh->type != GST_RIFF_FCC_vids &&
+          stream->strh->type != GST_RIFF_FCC_iavs) {
         res = FALSE;
         break;
       }