Don't compare booleans for equality to TRUE and FALSE
[platform/upstream/gstreamer.git] / plugins / elements / gstinputselector.c
index 70e7cb1..304827c 100644 (file)
@@ -1591,7 +1591,7 @@ gst_input_selector_query (GstPad * pad, GstObject * parent, GstQuery * query)
               resmax = max;
             else if (max < resmax)
               resmax = max;
-            if (reslive == FALSE)
+            if (!reslive)
               reslive = live;
           }
         }