From 5b32891ae13435fa7c769a85d9978056b60b1f0f Mon Sep 17 00:00:00 2001 From: Kishore Arepalli Date: Wed, 19 Jun 2013 10:30:56 +0200 Subject: [PATCH] avidemux: duration query returns zero for DV video in avi https://bugzilla.gnome.org/show_bug.cgi?id=702625 --- gst/avi/gstavidemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 4b4c9cc..e9f7ad1 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -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; } -- 2.7.4