camerabin2: remove unneeded check

A message may not be NULL in the message handling function
(and nothing there sets it to NULL).

Coverity 1139848
This commit is contained in:
Vincent Penquerc'h 2014-04-09 15:24:13 +01:00
parent 75c09f8d03
commit c3a2e0ad97

View file

@ -1112,8 +1112,8 @@ gst_camera_bin_handle_message (GstBin * bin, GstMessage * message)
default:
break;
}
if (message)
GST_BIN_CLASS (parent_class)->handle_message (bin, message);
GST_BIN_CLASS (parent_class)->handle_message (bin, message);
if (dec_counter)
GST_CAMERA_BIN2_PROCESSING_DEC (camerabin);