uvch264src: Fix compiler warning when compiling with G_DISABLE_ASSERT

This commit is contained in:
Sebastian Dröge 2014-06-29 20:13:10 +02:00
parent 78ab2cdffd
commit b02cbcfa42

View file

@ -2728,6 +2728,8 @@ gst_uvc_h264_src_construct_pipeline (GstBaseCameraSrc * bcamsrc)
self->secondary_format = UVC_H264_SRC_FORMAT_RAW; self->secondary_format = UVC_H264_SRC_FORMAT_RAW;
} else { } else {
g_assert_not_reached (); g_assert_not_reached ();
type = NONE_NONE;
self->main_format = UVC_H264_SRC_FORMAT_NONE;
} }
} else { } else {
type = NONE_NONE; type = NONE_NONE;