From 55e0b1818654e9b8b16ceecd5cfacd6ecbc92672 Mon Sep 17 00:00:00 2001 From: Jimmy Ohn Date: Mon, 5 Jun 2017 16:55:13 +0900 Subject: [PATCH] qtdemux: remove not needed code remove not needed code about res variable. https://bugzilla.gnome.org/show_bug.cgi?id=783422 --- gst/isomp4/qtdemux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 255b0f4c14..f362ee47e3 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -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: