mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
msdk: remove some dead code
This commit is contained in:
parent
fd9dfb9d0c
commit
0c1c2ce45a
2 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -111,8 +111,6 @@ gst_msdkvc1dec_configure (GstMsdkDec * decoder)
|
|||
* encoded streams */
|
||||
decoder->param.mfx.DecodedOrder = vc1dec->output_order;
|
||||
return TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue