aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/subviewerdec.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-02-04 00:51:57 +0100
committerMarton Balint <cus@passwd.hu>2013-02-15 00:10:46 +0100
commitb853cfe7eaf13b7d4ff3ceba7098544ccc049df8 (patch)
tree1e768bdec99a9ba6903a5301f6682eab4cee9e81 /libavformat/subviewerdec.c
parentc3fb20bab4f00621733809fb35ee39a5ae11e598 (diff)
downloadffmpeg-b853cfe7eaf13b7d4ff3ceba7098544ccc049df8.tar.gz
ffplay: remove refresh thread to achieve more precise frame delay
We use a refresh loop which displays the frames and also does the polling for pending events in a non-blocking way. If we know the required delay until the next frame, then exactly that amount of sleeping will be done. After each handled event we check if we have to display a frame which kind of makes displaying the frame a high priority event. This improves greatly the smoothness of the video output especially with 50fps content. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/subviewerdec.c')
0 files changed, 0 insertions, 0 deletions