diff libmpcodecs/vd_ffmpeg.c @ 11992:d8890a065727

vd_ffmpeg to set repeat-first-field patch by (Zoltan Hidvegi <mplayer at hzoli do 2y dot net>)
author michael
date Tue, 24 Feb 2004 00:31:15 +0000
parents efb37725d616
children f4537eee7c33
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Mon Feb 23 21:12:06 2004 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Tue Feb 24 00:31:15 2004 +0000
@@ -837,6 +837,7 @@
     mpi->fields = MP_IMGFIELD_ORDERED;
     if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED;
     if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST;    
+    if(pic->repeat_pict == 1) mpi->fields |= MP_IMGFIELD_REPEAT_FIRST;
 #endif
     
     return mpi;