[MPlayer-cvslog] CVS: main/libmpcodecs vf_pullup.c,1.9,1.10
Richard Felker CVS
syncmail at mplayerhq.hu
Thu Mar 17 01:43:58 CET 2005
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv2613/libmpcodecs
Modified Files:
vf_pullup.c
Log Message:
1000l to me: could break a/v sync and eventually cause buffer exhaustion on soft-telecined input that's ugly
Index: vf_pullup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pullup.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vf_pullup.c 6 Sep 2004 21:25:59 -0000 1.9
+++ vf_pullup.c 17 Mar 2005 00:43:55 -0000 1.10
@@ -178,7 +178,14 @@
if (!f) return 0;
if (f->length < 2) {
pullup_release_frame(f);
- return 0;
+ if (!(mpi->fields & MP_IMGFIELD_REPEAT_FIRST))
+ return 0;
+ f = pullup_get_frame(c);
+ if (!f) return 0;
+ if (f->length < 2) {
+ pullup_release_frame(f);
+ return 0;
+ }
}
}
More information about the MPlayer-cvslog
mailing list