diff options
author | Marton Balint <cus@passwd.hu> | 2011-10-08 21:38:53 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2011-10-16 19:21:01 +0200 |
commit | 4e268aae55c483ec6c743f741f17a8a0f9250f1e (patch) | |
tree | ba8e7e1ed09bf8c683b2a4422a09477abd5fc302 /ffprobe.c | |
parent | 6bca574a98ba604459f6ee92538b19d25bba0973 (diff) | |
download | ffmpeg-4e268aae55c483ec6c743f741f17a8a0f9250f1e.tar.gz |
ffplay: calculate target clock dynamically, make code more readable
Since target clock is based on the current A-V delay, it is better calculate it
when we actually need it rather than when we put a picture in the picture
queue.
The patch also makes a code a bit more readable by renaming some delay
variables to duration, and converting compute_target_time to a delay
calculating function which does not modify the state. Factoring out the
iteration of the pictq to standalone function is also done in this patch.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffprobe.c')
0 files changed, 0 insertions, 0 deletions