mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 11:42:04 +00:00
pass the interlacing info to the filter chain
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20655 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
440d6200ac
commit
d4f2e185b4
@ -221,6 +221,8 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
|||||||
mpi_new->fields |= MP_IMGFIELD_REPEAT_FIRST;
|
mpi_new->fields |= MP_IMGFIELD_REPEAT_FIRST;
|
||||||
else mpi_new->fields &= ~MP_IMGFIELD_REPEAT_FIRST;
|
else mpi_new->fields &= ~MP_IMGFIELD_REPEAT_FIRST;
|
||||||
mpi_new->fields |= MP_IMGFIELD_ORDERED;
|
mpi_new->fields |= MP_IMGFIELD_ORDERED;
|
||||||
|
if (!(info->current_picture->flags&PIC_FLAG_PROGRESSIVE_FRAME))
|
||||||
|
mpi_new->fields |= MP_IMGFIELD_INTERLACED;
|
||||||
|
|
||||||
#ifdef MPEG12_POSTPROC
|
#ifdef MPEG12_POSTPROC
|
||||||
mpi_new->qstride=info->sequence->width>>4;
|
mpi_new->qstride=info->sequence->width>>4;
|
||||||
|
Loading…
Reference in New Issue
Block a user