[FFmpeg-devel] [PATCH] ffplay: rename video_refresh_timer() to video_refresh()

Stefano Sabatini stefano.sabatini-lala at poste.it
Fri Apr 22 12:04:37 CEST 2011


The new name is shorter and less confusing.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
---
 ffplay.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 1faa60e..d45f0b9 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1118,7 +1118,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;
@@ -2877,7 +2877,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:
-- 
1.7.2.3



More information about the ffmpeg-devel mailing list