diff options
author | Jimmy Ohn <yongjin.ohn@lge.com> | 2017-06-05 16:55:13 +0900 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-06-06 11:02:59 +0200 |
commit | 55e0b1818654e9b8b16ceecd5cfacd6ecbc92672 (patch) | |
tree | b90f0490a08a825776c24b9654d79edad5e70f5b | |
parent | b9532fc6fb94293505cf14441f14009cf9250975 (diff) |
qtdemux: remove not needed code
remove not needed code about res variable.
https://bugzilla.gnome.org/show_bug.cgi?id=783422
-rw-r--r-- | gst/isomp4/qtdemux.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 255b0f4c1..f362ee47e 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: |