1000l to me: could break a/v sync and eventually cause buffer exhaustion on soft-telecined input that's ugly

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14955 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2005-03-17 00:43:55 +00:00
parent b9b42dbde0
commit 13b184f35a
1 changed files with 8 additions and 1 deletions

View File

@ -178,7 +178,14 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi)
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;
}
}
}