summaryrefslogtreecommitdiff
path: root/sys/d3d11
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-04-23 18:45:48 +0900
committerSeungha Yang <seungha@centricular.com>2021-04-28 00:25:56 +0900
commit41218dacec6c634f23beccb05ba4437f0c687e8f (patch)
treea64f5335566319ce75a4214c9aeea82652aa3b7a /sys/d3d11
parentf71eb2949772176a68ae5217cc94ae4d75a8ae95 (diff)
downloadgstreamer-plugins-bad-41218dacec6c634f23beccb05ba4437f0c687e8f.tar.gz
d3d11decoder: Run gst-indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2191>
Diffstat (limited to 'sys/d3d11')
-rw-r--r--sys/d3d11/gstd3d11decoder.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/d3d11/gstd3d11decoder.cpp b/sys/d3d11/gstd3d11decoder.cpp
index a93f6a3bd..7706f7334 100644
--- a/sys/d3d11/gstd3d11decoder.cpp
+++ b/sys/d3d11/gstd3d11decoder.cpp
@@ -1360,8 +1360,7 @@ gst_d3d11_decoder_process_output (GstD3D11Decoder * decoder,
GST_INFO_OBJECT (videodec, "Frame size changed, do renegotiate");
gst_video_info_set_format (&decoder->output_info,
- GST_VIDEO_INFO_FORMAT (&decoder->info),
- display_width, display_height);
+ GST_VIDEO_INFO_FORMAT (&decoder->info), display_width, display_height);
GST_VIDEO_INFO_INTERLACE_MODE (&decoder->output_info) =
GST_VIDEO_INFO_INTERLACE_MODE (&decoder->info);
@@ -1372,7 +1371,7 @@ gst_d3d11_decoder_process_output (GstD3D11Decoder * decoder,
}
if (gst_d3d11_decoder_can_direct_render (decoder, videodec, decoder_buffer,
- display_width, display_height)) {
+ display_width, display_height)) {
GstMemory *mem;
mem = gst_buffer_peek_memory (decoder_buffer, 0);