Commit 436a85ac authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

avidemux: tweak DEFAULT format duration query response

parent 14fe651b
......@@ -573,7 +573,7 @@ gst_avi_demux_handle_src_query (GstPad * pad, GstQuery * query)
GST_DEBUG_OBJECT (query, "total frames is %" G_GUINT32_FORMAT,
if (stream->idx_n >= 0)
if (stream->idx_n > 0)
gst_query_set_duration (query, fmt, stream->idx_n);
else if (gst_pad_query_convert (pad, GST_FORMAT_TIME,
duration, &fmt, &dur))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment