mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 13:21:13 +00:00
ass renderer absolutely needs readable target mpi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20672 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2de69adf98
commit
1fd844ab06
@ -107,7 +107,7 @@ static void get_image(struct vf_instance_s* vf, mp_image_t *mpi)
|
||||
|
||||
// width never changes, always try full DR
|
||||
mpi->priv = vf->dmpi = vf_get_image(vf->next, mpi->imgfmt,
|
||||
mpi->type, mpi->flags,
|
||||
mpi->type, mpi->flags | MP_IMGFLAG_READABLE,
|
||||
vf->priv->outw,
|
||||
vf->priv->outh);
|
||||
|
||||
@ -176,7 +176,7 @@ static int prepare_image(struct vf_instance_s* vf, mp_image_t *mpi)
|
||||
|
||||
// hope we'll get DR buffer:
|
||||
vf->dmpi = vf_get_image(vf->next, vf->priv->outfmt,
|
||||
MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
|
||||
MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_READABLE,
|
||||
vf->priv->outw, vf->priv->outh);
|
||||
|
||||
// copy mpi->dmpi...
|
||||
|
Loading…
Reference in New Issue
Block a user