v4l2: object: Remove over indentation

This is a style fix, no functional changes.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7540>
This commit is contained in:
Nicolas Dufresne 2024-08-14 15:26:58 -04:00 committed by GStreamer Marge Bot
parent 746977b6d3
commit 7fb16f0b11

View file

@ -1824,8 +1824,7 @@ gst_v4l2_object_get_caps_info (GstV4l2Object * v4l2object, GstCaps * caps,
fourcc_nc = desc->v4l2_format; fourcc_nc = desc->v4l2_format;
if (fallback_desc) if (fallback_desc)
fourcc = fallback_desc->v4l2_format; fourcc = fallback_desc->v4l2_format;
} else { } else if (g_str_equal (mimetype, "video/mpegts")) {
if (g_str_equal (mimetype, "video/mpegts")) {
fourcc = V4L2_PIX_FMT_MPEG; fourcc = V4L2_PIX_FMT_MPEG;
} else if (g_str_equal (mimetype, "video/x-dv")) { } else if (g_str_equal (mimetype, "video/x-dv")) {
fourcc = V4L2_PIX_FMT_DV; fourcc = V4L2_PIX_FMT_DV;
@ -1917,7 +1916,6 @@ gst_v4l2_object_get_caps_info (GstV4l2Object * v4l2object, GstCaps * caps,
} else if (g_str_equal (mimetype, "video/x-pwc2")) { } else if (g_str_equal (mimetype, "video/x-pwc2")) {
fourcc = V4L2_PIX_FMT_PWC2; fourcc = V4L2_PIX_FMT_PWC2;
} }
}
/* Prefer the non-contiguous if supported */ /* Prefer the non-contiguous if supported */
v4l2object->prefered_non_contiguous = TRUE; v4l2object->prefered_non_contiguous = TRUE;