msdk: remove some dead code

This commit is contained in:
Haihao Xiang 2019-09-30 09:09:23 +08:00
parent fd9dfb9d0c
commit 0c1c2ce45a
2 changed files with 0 additions and 6 deletions

View file

@ -291,10 +291,6 @@ gst_msdkenc_init_encoder (GstMsdkEnc * thiz)
thiz->vpp_param.vpp.In.AspectRatioH = info->par_d;
thiz->vpp_param.vpp.In.PicStruct = MFX_PICSTRUCT_PROGRESSIVE;
switch (GST_VIDEO_INFO_FORMAT (info)) {
case GST_VIDEO_FORMAT_NV12:
thiz->vpp_param.vpp.In.FourCC = MFX_FOURCC_NV12;
thiz->vpp_param.vpp.In.ChromaFormat = MFX_CHROMAFORMAT_YUV420;
break;
case GST_VIDEO_FORMAT_YV12:
case GST_VIDEO_FORMAT_I420:
thiz->vpp_param.vpp.In.FourCC = MFX_FOURCC_YV12;

View file

@ -111,8 +111,6 @@ gst_msdkvc1dec_configure (GstMsdkDec * decoder)
* encoded streams */
decoder->param.mfx.DecodedOrder = vc1dec->output_order;
return TRUE;
return TRUE;
}
static void