[Mplayer-cvslog] CVS: main/libmpeg2 header.c,1.12,1.13 mpeg2.h,1.6,1.7

Tobias Diedrich CVS ranma at mplayerhq.hu
Sun Aug 3 14:05:20 CEST 2003


Update of /cvsroot/mplayer/main/libmpeg2
In directory mail:/var/tmp.root/cvs-serv5721

Modified Files:
	header.c mpeg2.h 
Log Message:
Export flags needed for softpulldown filter.


Index: header.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/header.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- header.c	6 Apr 2003 16:38:42 -0000	1.12
+++ header.c	3 Aug 2003 12:04:57 -0000	1.13
@@ -506,7 +506,8 @@
     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;

Index: mpeg2.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/mpeg2.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mpeg2.h	6 Apr 2003 16:36:02 -0000	1.6
+++ mpeg2.h	3 Aug 2003 12:04:57 -0000	1.7
@@ -67,6 +67,7 @@
 #define PIC_FLAG_COMPOSITE_DISPLAY 32
 #define PIC_FLAG_SKIP 64
 #define PIC_FLAG_PTS 128
+#define PIC_FLAG_REPEAT_FIRST_FIELD 256
 #define PIC_MASK_COMPOSITE_DISPLAY 0xfffff000
 
 typedef struct {



More information about the MPlayer-cvslog mailing list