msdk: remove unnecessary assignment
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 16 Nov 2018 05:58:22 +0000 (13:58 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 26 Nov 2018 16:47:17 +0000 (16:47 +0000)
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.

sys/msdk/gstmsdkh265dec.c

index 6cfb203..d370948 100644 (file)
@@ -96,7 +96,6 @@ gst_msdkh265dec_configure (GstMsdkDec * decoder)
   }
 
   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
    * customers still using this for low-latency streaming of non-b-frame