d3d11: Run indent
authorSeungha Yang <seungha@centricular.com>
Thu, 7 Apr 2022 19:02:55 +0000 (04:02 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 8 Apr 2022 11:51:37 +0000 (11:51 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2131>

subprojects/gst-plugins-bad/sys/d3d11/gstd3d11av1dec.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11screencapturesrc.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11videosink.cpp

index 591a729..b339a37 100644 (file)
@@ -427,7 +427,7 @@ static GstFlowReturn gst_d3d11_av1_dec_new_sequence (GstAV1Decoder * decoder,
 static GstFlowReturn gst_d3d11_av1_dec_new_picture (GstAV1Decoder * decoder,
     GstVideoCodecFrame * frame, GstAV1Picture * picture);
 static GstAV1Picture *gst_d3d11_av1_dec_duplicate_picture (GstAV1Decoder *
-    decoder, GstVideoCodecFrame * frame,  GstAV1Picture * picture);
+    decoder, GstVideoCodecFrame * frame, GstAV1Picture * picture);
 static GstFlowReturn gst_d3d11_av1_dec_start_picture (GstAV1Decoder * decoder,
     GstAV1Picture * picture, GstAV1Dpb * dpb);
 static GstFlowReturn gst_d3d11_av1_dec_decode_tile (GstAV1Decoder * decoder,
index 2e7b301..6c31409 100644 (file)
@@ -549,8 +549,7 @@ gst_d3d11_screen_capture_src_decide_allocation (GstBaseSrc * bsrc,
   /* d3d11 buffer pool will update buffer size based on allocated texture,
    * get size from config again */
   config = gst_buffer_pool_get_config (pool);
-  gst_buffer_pool_config_get_params (config,
-      nullptr, &size, nullptr, nullptr);
+  gst_buffer_pool_config_get_params (config, nullptr, &size, nullptr, nullptr);
   gst_structure_free (config);
 
   if (!self->downstream_supports_d3d11) {
index 02ea4f0..7bdc29e 100644 (file)
@@ -692,9 +692,13 @@ gst_d3d11_video_sink_key_event (GstD3D11Window * window, const gchar * event,
   if (self->enable_navigation_events) {
     GST_LOG_OBJECT (self, "send key event %s, key %s", event, key);
     if (0 == g_strcmp0 ("key-press", event))
-      key_event = gst_navigation_event_new_key_press (key, GST_NAVIGATION_MODIFIER_NONE);
+      key_event =
+          gst_navigation_event_new_key_press (key,
+          GST_NAVIGATION_MODIFIER_NONE);
     else if (0 == g_strcmp0 ("key-release", event))
-      key_event = gst_navigation_event_new_key_release (key, GST_NAVIGATION_MODIFIER_NONE);
+      key_event =
+          gst_navigation_event_new_key_release (key,
+          GST_NAVIGATION_MODIFIER_NONE);
 
     if (event)
       gst_navigation_send_event_simple (GST_NAVIGATION (self), key_event);
@@ -711,11 +715,17 @@ gst_d3d11_video_mouse_key_event (GstD3D11Window * window, const gchar * event,
     GST_LOG_OBJECT (self,
         "send mouse event %s, button %d (%.1f, %.1f)", event, button, x, y);
     if (0 == g_strcmp0 ("mouse-button-press", event))
-      mouse_event = gst_navigation_event_new_mouse_button_press (button, x, y, GST_NAVIGATION_MODIFIER_NONE);
+      mouse_event =
+          gst_navigation_event_new_mouse_button_press (button, x, y,
+          GST_NAVIGATION_MODIFIER_NONE);
     else if (0 == g_strcmp0 ("mouse-button-release", event))
-      mouse_event = gst_navigation_event_new_mouse_button_release (button, x, y, GST_NAVIGATION_MODIFIER_NONE);
+      mouse_event =
+          gst_navigation_event_new_mouse_button_release (button, x, y,
+          GST_NAVIGATION_MODIFIER_NONE);
     else if (0 == g_strcmp0 ("mouse-move", event))
-      mouse_event = gst_navigation_event_new_mouse_move (x, y, GST_NAVIGATION_MODIFIER_NONE);
+      mouse_event =
+          gst_navigation_event_new_mouse_move (x, y,
+          GST_NAVIGATION_MODIFIER_NONE);
 
     if (event)
       gst_navigation_send_event_simple (GST_NAVIGATION (self), mouse_event);