aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2011-10-09 15:49:22 +0200
committerMarton Balint <cus@passwd.hu>2011-10-16 19:21:01 +0200
commitd2d8e1e599a4b5c01e5be9267ac85105e843d928 (patch)
treeb6f6b10ee07dc850deaf291e2ad74e4c27b59527 /libswresample
parent4e268aae55c483ec6c743f741f17a8a0f9250f1e (diff)
downloadffmpeg-d2d8e1e599a4b5c01e5be9267ac85105e843d928.tar.gz
ffplay: remove early frame drop functionality
The current impementation of early frame drops (dropping frames before adding them to the picture queue) has multiple problems: Even after gettin A-V sync, the frame droping continues until VideoState->skip_frames reaches 1, which can take a lot of time causing useless additional frame drops and bad AV-sync. This issue can be easily triggered with for example changing the audio stream. Also video_refresh currenly does not handle early skipped frames in every case, for example if we skip a frame, then the last frame duration calculation will compute the duration of the sum of the skipped frame and the duration of the frame before that, and in compute_target_delay we may multiply this unusually big delay. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libswresample')
0 files changed, 0 insertions, 0 deletions