[FFmpeg-cvslog] ffplay: rename video_refresh_timer() to video_refresh()
Stefano Sabatini
git at videolan.org
Wed Apr 27 11:33:48 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Fri Apr 22 11:25:54 2011 +0200| [4a22ea4da1a81c2b4bc289fb8580ec763f85c62b] | committer: Stefano Sabatini
ffplay: rename video_refresh_timer() to video_refresh()
The new name is shorter and less confusing.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4a22ea4da1a81c2b4bc289fb8580ec763f85c62b
---
ffplay.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index 3377243..7a6b72a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1117,7 +1117,7 @@ static double compute_target_time(double frame_current_pts, VideoState *is)
}
/* called to display each frame */
-static void video_refresh_timer(void *opaque)
+static void video_refresh(void *opaque)
{
VideoState *is = opaque;
VideoPicture *vp;
@@ -2872,7 +2872,7 @@ static void event_loop(void)
alloc_picture(event.user.data1);
break;
case FF_REFRESH_EVENT:
- video_refresh_timer(event.user.data1);
+ video_refresh(event.user.data1);
cur_stream->refresh=0;
break;
default:
More information about the ffmpeg-cvslog
mailing list