diff options
author | ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-03 12:04:57 +0000 |
---|---|---|
committer | ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-03 12:04:57 +0000 |
commit | 81df98523924656907a32991153864434cc8d124 (patch) | |
tree | 010d1f8031e3d79bd415f3c815a72aa957163358 /libmpeg2/header.c | |
parent | 100951c1de67c8c899618b5e86f9cd088f5687af (diff) | |
download | mpv-81df98523924656907a32991153864434cc8d124.tar.bz2 mpv-81df98523924656907a32991153864434cc8d124.tar.xz |
Export flags needed for softpulldown filter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10510 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2/header.c')
-rw-r--r-- | libmpeg2/header.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpeg2/header.c b/libmpeg2/header.c index 38b833fa8a..e8a39939e6 100644 --- a/libmpeg2/header.c +++ b/libmpeg2/header.c @@ -506,7 +506,8 @@ static int picture_coding_ext (mpeg2dec_t * mpeg2dec) case FRAME_PICTURE: if (!(mpeg2dec->sequence.flags & SEQ_FLAG_PROGRESSIVE_SEQUENCE)) { picture->nb_fields = (buffer[3] & 2) ? 3 : 2; - flags |= (buffer[3] & 128) ? PIC_FLAG_TOP_FIELD_FIRST : 0; + flags |= (buffer[3] & 128) ? PIC_FLAG_TOP_FIELD_FIRST : 0; + flags |= (buffer[3] & 2) ? PIC_FLAG_REPEAT_FIRST_FIELD : 0; } else picture->nb_fields = (buffer[3]&2) ? ((buffer[3]&128) ? 6 : 4) : 2; break; |