mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 23:51:49 +00:00
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:
parent
b9b42dbde0
commit
13b184f35a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user