diff options
author | Marton Balint <cus@passwd.hu> | 2013-02-04 00:51:57 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-02-15 00:10:46 +0100 |
commit | b853cfe7eaf13b7d4ff3ceba7098544ccc049df8 (patch) | |
tree | 1e768bdec99a9ba6903a5301f6682eab4cee9e81 /libavformat/rtmpcrypt.h | |
parent | c3fb20bab4f00621733809fb35ee39a5ae11e598 (diff) | |
download | ffmpeg-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/rtmpcrypt.h')
0 files changed, 0 insertions, 0 deletions