1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +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:
henry 2006-11-04 07:08:54 +00:00
parent 440d6200ac
commit d4f2e185b4

View File

@ -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;
else mpi_new->fields &= ~MP_IMGFIELD_REPEAT_FIRST;
mpi_new->fields |= MP_IMGFIELD_ORDERED;
if (!(info->current_picture->flags&PIC_FLAG_PROGRESSIVE_FRAME))
mpi_new->fields |= MP_IMGFIELD_INTERLACED;
#ifdef MPEG12_POSTPROC
mpi_new->qstride=info->sequence->width>>4;