1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

vf_pp: PP_PICT_TYPE_QP2 is always defined

This commit is contained in:
wm4 2014-04-25 19:21:17 +02:00
parent 1c2c09adf7
commit 40c517cc41

View File

@ -101,11 +101,7 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi)
(mpi->w+7)&(~7),mpi->h, (mpi->w+7)&(~7),mpi->h,
mpi->qscale, mpi->qstride, mpi->qscale, mpi->qstride,
vf->priv->ppMode[ vf->priv->pp ], vf->priv->context, vf->priv->ppMode[ vf->priv->pp ], vf->priv->context,
#ifdef PP_PICT_TYPE_QP2
mpi->pict_type | (mpi->qscale_type ? PP_PICT_TYPE_QP2 : 0)); mpi->pict_type | (mpi->qscale_type ? PP_PICT_TYPE_QP2 : 0));
#else
mpi->pict_type);
#endif
if (dmpi != mpi) if (dmpi != mpi)
talloc_free(mpi); talloc_free(mpi);