Mercurial > mplayer.hg
comparison libmpcodecs/vf_pullup.c @ 14954:fe1dfcfcc3bf
1000l to me: could break a/v sync and eventually cause buffer exhaustion on soft-telecined input that's ugly
author | rfelker |
---|---|
date | Thu, 17 Mar 2005 00:43:55 +0000 |
parents | 8d4a16cb1e97 |
children | 5d566b4628d0 |
comparison
equal
deleted
inserted
replaced
14953:01b287731c7b | 14954:fe1dfcfcc3bf |
---|---|
176 pullup_release_frame(f); | 176 pullup_release_frame(f); |
177 f = pullup_get_frame(c); | 177 f = pullup_get_frame(c); |
178 if (!f) return 0; | 178 if (!f) return 0; |
179 if (f->length < 2) { | 179 if (f->length < 2) { |
180 pullup_release_frame(f); | 180 pullup_release_frame(f); |
181 return 0; | 181 if (!(mpi->fields & MP_IMGFIELD_REPEAT_FIRST)) |
182 return 0; | |
183 f = pullup_get_frame(c); | |
184 if (!f) return 0; | |
185 if (f->length < 2) { | |
186 pullup_release_frame(f); | |
187 return 0; | |
188 } | |
182 } | 189 } |
183 } | 190 } |
184 | 191 |
185 #if 0 | 192 #if 0 |
186 /* Average qscale tables from both frames. */ | 193 /* Average qscale tables from both frames. */ |