[vlc-devel] [PATCH 4/4] qsv: fix indentation after previous commit
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jul 2 16:19:00 CEST 2020
---
modules/codec/qsv.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index c7abb37d557..4f2d831a9ab 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -745,7 +745,7 @@ static int Open(vlc_object_t *this)
if (impl & MFX_IMPL_VIA_D3D11)
sys->params.IOPattern |= MFX_IOPATTERN_IN_VIDEO_MEMORY;
else
- sys->params.IOPattern |= MFX_IOPATTERN_IN_SYSTEM_MEMORY;
+ sys->params.IOPattern |= MFX_IOPATTERN_IN_SYSTEM_MEMORY;
sys->params.AsyncDepth = var_InheritInteger(enc, SOUT_CFG_PREFIX "async-depth");
sys->params.mfx.GopOptFlag = 1; /* TODO */
sys->params.mfx.GopPicSize = var_InheritInteger(enc, SOUT_CFG_PREFIX "gop-size");
@@ -924,9 +924,9 @@ static int Open(vlc_object_t *this)
}
else
{
- enc->fmt_in.i_codec = VLC_CODEC_NV12; // Intel Media SDK requirement
- enc->fmt_in.video.i_bits_per_pixel = 12;
- enc->fmt_in.video.i_chroma = VLC_CODEC_NV12;
+ enc->fmt_in.i_codec = VLC_CODEC_NV12; // Intel Media SDK requirement
+ enc->fmt_in.video.i_bits_per_pixel = 12;
+ enc->fmt_in.video.i_chroma = VLC_CODEC_NV12;
}
enc->fmt_in.video.i_width = sys->params.mfx.FrameInfo.Width;
enc->fmt_in.video.i_height = sys->params.mfx.FrameInfo.Height;
--
2.26.2
More information about the vlc-devel
mailing list