gst-plugins-base: re-indent with GNU indent 2.2.12
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4182>
This commit is contained in:
parent
574e6b7994
commit
8759b77a50
@ -244,7 +244,8 @@ gst_gl_filter_fixate_caps (GstBaseTransform * bt,
|
|||||||
GstStructure *ins, *outs;
|
GstStructure *ins, *outs;
|
||||||
const GValue *from_par, *to_par;
|
const GValue *from_par, *to_par;
|
||||||
GValue fpar = { 0, }, tpar = {
|
GValue fpar = { 0, }, tpar = {
|
||||||
0,};
|
0,
|
||||||
|
};
|
||||||
|
|
||||||
othercaps = gst_caps_make_writable (othercaps);
|
othercaps = gst_caps_make_writable (othercaps);
|
||||||
othercaps = gst_caps_truncate (othercaps);
|
othercaps = gst_caps_truncate (othercaps);
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
* (aka making up for GstImplementsInterface removal) (probably yes) */
|
* (aka making up for GstImplementsInterface removal) (probably yes) */
|
||||||
|
|
||||||
G_DEFINE_INTERFACE (GstVideoOrientation, gst_video_orientation, 0)
|
G_DEFINE_INTERFACE (GstVideoOrientation, gst_video_orientation, 0)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_video_orientation_default_init (GstVideoOrientationInterface *
|
gst_video_orientation_default_init (GstVideoOrientationInterface *
|
||||||
iface)
|
iface)
|
||||||
|
@ -117,7 +117,6 @@ gst_play_sink_convert_bin_add_identity (GstPlaySinkConvertBin * self)
|
|||||||
(_("Missing element '%s' - check your GStreamer installation."),
|
(_("Missing element '%s' - check your GStreamer installation."),
|
||||||
"identity"), (self->audio ?
|
"identity"), (self->audio ?
|
||||||
"audio rendering might fail" : "video rendering might fail")
|
"audio rendering might fail" : "video rendering might fail")
|
||||||
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
g_object_set (self->identity, "silent", TRUE, "signal-handoffs", FALSE,
|
g_object_set (self->identity, "silent", TRUE, "signal-handoffs", FALSE,
|
||||||
|
@ -751,7 +751,8 @@ _get_silent_property (GstElement * element, gboolean * invert)
|
|||||||
gboolean invert;
|
gboolean invert;
|
||||||
} properties[] = { {
|
} properties[] = { {
|
||||||
"silent", FALSE}, {
|
"silent", FALSE}, {
|
||||||
"enable", TRUE}};
|
"enable", TRUE}
|
||||||
|
};
|
||||||
guint i;
|
guint i;
|
||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (properties); i++) {
|
for (i = 0; i < G_N_ELEMENTS (properties); i++) {
|
||||||
|
@ -95,8 +95,6 @@ G_DEFINE_TYPE (GstSubParse, gst_sub_parse, GST_TYPE_ELEMENT);
|
|||||||
|
|
||||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (subparse, "subparse",
|
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (subparse, "subparse",
|
||||||
GST_RANK_PRIMARY, GST_TYPE_SUBPARSE, sub_parse_element_init (plugin))
|
GST_RANK_PRIMARY, GST_TYPE_SUBPARSE, sub_parse_element_init (plugin))
|
||||||
|
|
||||||
|
|
||||||
static void gst_sub_parse_dispose (GObject * object)
|
static void gst_sub_parse_dispose (GObject * object)
|
||||||
{
|
{
|
||||||
GstSubParse *subparse = GST_SUBPARSE (object);
|
GstSubParse *subparse = GST_SUBPARSE (object);
|
||||||
|
@ -409,7 +409,6 @@ gst_sub_parse_type_find (GstTypeFind * tf, gpointer private)
|
|||||||
GST_TYPE_FIND_REGISTER_DEFINE (subparse, "subparse_typefind", GST_RANK_MARGINAL,
|
GST_TYPE_FIND_REGISTER_DEFINE (subparse, "subparse_typefind", GST_RANK_MARGINAL,
|
||||||
gst_sub_parse_type_find, "srt,sub,mpsub,mdvd,smi,txt,dks,vtt", SUB_CAPS,
|
gst_sub_parse_type_find, "srt,sub,mpsub,mdvd,smi,txt,dks,vtt", SUB_CAPS,
|
||||||
NULL, NULL)
|
NULL, NULL)
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
sub_parse_element_init (GstPlugin * plugin)
|
sub_parse_element_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
@ -1590,7 +1590,8 @@ GST_START_TEST (test_preserve_width)
|
|||||||
16, "S16LE"}, {
|
16, "S16LE"}, {
|
||||||
24, "S24LE"}, {
|
24, "S24LE"}, {
|
||||||
32, "S32LE"}, {
|
32, "S32LE"}, {
|
||||||
0, NULL}};
|
0, NULL}
|
||||||
|
};
|
||||||
|
|
||||||
gint i;
|
gint i;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
@ -258,7 +258,8 @@ GST_START_TEST (test_opus_encode_properties)
|
|||||||
"bitrate", 500000}, {
|
"bitrate", 500000}, {
|
||||||
"frame-size", 5}, {
|
"frame-size", 5}, {
|
||||||
"bitrate", 80000}, {
|
"bitrate", 80000}, {
|
||||||
"complexity", 8},};
|
"complexity", 8},
|
||||||
|
};
|
||||||
|
|
||||||
opusenc = setup_opusenc ();
|
opusenc = setup_opusenc ();
|
||||||
|
|
||||||
|
@ -67,7 +67,8 @@ static const struct
|
|||||||
GST_VIDEO_FORMAT_RGBA, 1, 1, 0, rgba_pixel, 4}, {
|
GST_VIDEO_FORMAT_RGBA, 1, 1, 0, rgba_pixel, 4}, {
|
||||||
GST_VIDEO_FORMAT_RGB, 1, 1, 0, rgba_pixel, 3}, {
|
GST_VIDEO_FORMAT_RGB, 1, 1, 0, rgba_pixel, 3}, {
|
||||||
GST_VIDEO_FORMAT_YUY2, 1, 1, 0, rgba_pixel, 1}, {
|
GST_VIDEO_FORMAT_YUY2, 1, 1, 0, rgba_pixel, 1}, {
|
||||||
GST_VIDEO_FORMAT_I420, 1, 1, 0, rgba_pixel, 1},};
|
GST_VIDEO_FORMAT_I420, 1, 1, 0, rgba_pixel, 1},
|
||||||
|
};
|
||||||
|
|
||||||
GST_START_TEST (test_allocator_alloc)
|
GST_START_TEST (test_allocator_alloc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user