diff options
author | Matthew Waters <matthew@centricular.com> | 2015-09-18 15:28:27 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-09-18 16:58:21 +1000 |
commit | 578b8432b640a25c64d0831fac3cb088f307340c (patch) | |
tree | e25247a479eed39381e1ab881ff601920b8d683c /sys/applemedia/vtdec.c | |
parent | fade5a6d8a948f29dda3e67e449baca95f7ce52f (diff) | |
download | gstreamer-plugins-bad-578b8432b640a25c64d0831fac3cb088f307340c.tar.gz |
vtdec: gst-indent file
Diffstat (limited to 'sys/applemedia/vtdec.c')
-rw-r--r-- | sys/applemedia/vtdec.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c index e04662be2..18ac16880 100644 --- a/sys/applemedia/vtdec.c +++ b/sys/applemedia/vtdec.c @@ -260,7 +260,8 @@ out: } static gboolean -gst_vtdec_negotiate_output_format (GstVtdec * vtdec, GstVideoCodecState *input_state) +gst_vtdec_negotiate_output_format (GstVtdec * vtdec, + GstVideoCodecState * input_state) { GstCaps *caps = NULL, *peercaps = NULL, *templcaps; GstVideoFormat output_format; @@ -273,7 +274,8 @@ gst_vtdec_negotiate_output_format (GstVtdec * vtdec, GstVideoCodecState *input_s /* Check if output supports GL caps by preference */ templcaps = gst_pad_get_pad_template_caps (GST_VIDEO_DECODER_SRC_PAD (vtdec)); - caps = gst_caps_intersect_full (templcaps, peercaps, GST_CAPS_INTERSECT_FIRST); + caps = + gst_caps_intersect_full (templcaps, peercaps, GST_CAPS_INTERSECT_FIRST); gst_caps_unref (peercaps); gst_caps_unref (templcaps); @@ -292,7 +294,8 @@ gst_vtdec_negotiate_output_format (GstVtdec * vtdec, GstVideoCodecState *input_s } output_state = gst_video_decoder_set_output_state (GST_VIDEO_DECODER (vtdec), - output_format, vtdec->video_info.width, vtdec->video_info.height, input_state); + output_format, vtdec->video_info.width, vtdec->video_info.height, + input_state); output_state->caps = gst_video_info_to_caps (&output_state->info); gst_caps_set_features (output_state->caps, 0, features); |