qtdemux: remove not needed code

remove not needed code about res variable.

https://bugzilla.gnome.org/show_bug.cgi?id=783422
This commit is contained in:
Jimmy Ohn 2017-06-05 16:55:13 +09:00 committed by Edward Hervey
parent b9532fc6fb
commit 55e0b18186

View file

@ -906,10 +906,9 @@ gst_qtdemux_handle_src_query (GstPad * pad, GstObject * parent,
res = gst_qtdemux_src_convert (qtdemux, pad,
src_fmt, src_value, dest_fmt, &dest_value);
if (res) {
if (res)
gst_query_set_convert (query, src_fmt, src_value, dest_fmt, dest_value);
res = TRUE;
}
break;
}
case GST_QUERY_FORMATS: