msdk: remove unnecessary assignment
CodecProfile will be set in MFXVideoDECODE_DecodeHeader() to match the input stream. Setting the hard-coded profile here will mislead user that msdkh265dec supports a special profile only.
This commit is contained in:
parent
b38f8d301c
commit
b0d22f8cb4
@ -96,7 +96,6 @@ gst_msdkh265dec_configure (GstMsdkDec * decoder)
|
|||||||
}
|
}
|
||||||
|
|
||||||
decoder->param.mfx.CodecId = MFX_CODEC_HEVC;
|
decoder->param.mfx.CodecId = MFX_CODEC_HEVC;
|
||||||
decoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN;
|
|
||||||
|
|
||||||
/* This is a deprecated attribute in msdk-2017 version, but some
|
/* This is a deprecated attribute in msdk-2017 version, but some
|
||||||
* customers still using this for low-latency streaming of non-b-frame
|
* customers still using this for low-latency streaming of non-b-frame
|
||||||
|
Loading…
x
Reference in New Issue
Block a user