This is required before we enabled an indent test in the CI.
https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS (
- EXTRA_CAPS_TEMPLATE
+ GST_STATIC_CAPS (EXTRA_CAPS_TEMPLATE
"video/x-raw; video/x-raw(memory:GLMemory)"));
static GstStaticPadTemplate gst_gl_download_element_sink_pad_template =
* treated as a set of individual mono channels */
s = gst_structure_copy (s2);
gst_structure_set (s, "channels", G_TYPE_INT, i, "channel-mask",
- GST_TYPE_BITMASK, G_GUINT64_CONSTANT(0), NULL);
+ GST_TYPE_BITMASK, G_GUINT64_CONSTANT (0), NULL);
gst_caps_append_structure (caps, s);
s = gst_structure_copy (s1);
gst_structure_set (s, "channels", G_TYPE_INT, i, "channel-mask",
- GST_TYPE_BITMASK, G_GUINT64_CONSTANT(0), NULL);
+ GST_TYPE_BITMASK, G_GUINT64_CONSTANT (0), NULL);
gst_caps_append_structure (caps, s);
}
gst_query_unref (query);
/* normalize to bool */
- dec->priv->agg = !!res;
+ dec->priv->agg = ! !res;
}
static GstFlowReturn
GST_DEBUG_OBJECT (window, "set window handle with size %dx%d",
foreign_window->width, foreign_window->height);
- if (window_egl->native.element && window_egl->native.element != window_egl->foreign.element) {
+ if (window_egl->native.element
+ && window_egl->native.element != window_egl->foreign.element) {
dispman_update = vc_dispmanx_update_start (0);
vc_dispmanx_element_remove (dispman_update, window_egl->native.element);
vc_dispmanx_update_submit_sync (dispman_update);
incaps = gst_caps_from_string ("audio/x-raw, "
"format = (string) F32LE, "
"layout = (string) interleaved, "
- "rate = (int) 44100, "
- "channels = (int) 1");
+ "rate = (int) 44100, " "channels = (int) 1");
outcaps = gst_caps_from_string ("audio/x-raw, "
"format = (string) S16LE, "
"layout = (string) interleaved, "
"audio/x-raw, "
"format = (string) { F32LE, F32BE, F64LE, F64BE }, "
"layout = (string) non-interleaved, "
- "rate = (int) [ 1, MAX ], "
- "channels = (int) [1, 8]");
+ "rate = (int) [ 1, MAX ], " "channels = (int) [1, 8]");
audioconvert = setup_audioconvert (outcaps);
/* Ensures that filtering buffers with unknown caps down to fixed-caps
* will apply those caps to the buffers.
* see http://bugzilla.gnome.org/show_bug.cgi?id=315126 */
- s = "fakesrc num-buffers=2 ! "
- "audio/x-raw,format=" GST_AUDIO_NE (S16) ",rate=22050,channels=1,layout=interleaved "
- "! audioconvert "
- "! audio/x-raw,format=" GST_AUDIO_NE (S16) ",rate=22050,channels=1,layout=interleaved "
- "! fakesink";
+ s = "fakesrc num-buffers=2 ! " "audio/x-raw,format=" GST_AUDIO_NE (S16)
+ ",rate=22050,channels=1,layout=interleaved " "! audioconvert "
+ "! audio/x-raw,format=" GST_AUDIO_NE (S16)
+ ",rate=22050,channels=1,layout=interleaved " "! fakesink";
run_pipeline (setup_pipeline (s), s,
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
GST_MESSAGE_UNKNOWN);