summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-06-07 16:41:58 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-06-07 17:02:47 -0400
commita0a590369a453687878d267e874c536ee28c2131 (patch)
treee04d4a643d013220b7519b0d95590f34cb466d8b /sys
parente31c6aa427fe7129a896386d166a08d52cef8243 (diff)
v4l2videodec: Coding style fixes
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l2/gstv4l2videodec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c
index 344df49bc..0a2eace32 100644
--- a/sys/v4l2/gstv4l2videodec.c
+++ b/sys/v4l2/gstv4l2videodec.c
@@ -489,7 +489,7 @@ gst_v4l2_video_dec_loop_stopped (GstV4l2VideoDec * self)
}
static gboolean
-gst_v4l2_video_remove_padding(GstCapsFeatures * features,
+gst_v4l2_video_remove_padding (GstCapsFeatures * features,
GstStructure * structure, gpointer user_data)
{
GstV4l2VideoDec *self = GST_V4L2_VIDEO_DEC (user_data);
@@ -497,10 +497,10 @@ gst_v4l2_video_remove_padding(GstCapsFeatures * features,
GstVideoInfo *info = &self->v4l2capture->info;
int width, height;
- if (!gst_structure_get_int(structure, "width", &width))
+ if (!gst_structure_get_int (structure, "width", &width))
return TRUE;
- if (!gst_structure_get_int(structure, "height", &height))
+ if (!gst_structure_get_int (structure, "height", &height))
return TRUE;
if (align->padding_left != 0 || align->padding_top != 0 ||
@@ -508,7 +508,7 @@ gst_v4l2_video_remove_padding(GstCapsFeatures * features,
height != info->height + align->padding_bottom)
return TRUE;
- gst_structure_set(structure,
+ gst_structure_set (structure,
"width", G_TYPE_INT, width - align->padding_right,
"height", G_TYPE_INT, height - align->padding_bottom, NULL);
@@ -532,7 +532,7 @@ gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder,
if (!self->input_state)
goto not_negotiated;
if (!gst_v4l2_object_set_format (self->v4l2output, self->input_state->caps,
- &error))
+ &error))
goto not_negotiated;
}