Browse code

ffplay: rename video_refresh_timer() to video_refresh()

The new name is shorter and less confusing.

Stefano Sabatini authored on 2011/04/22 18:25:54
Showing 1 changed files
... ...
@@ -1117,7 +1117,7 @@ static double compute_target_time(double frame_current_pts, VideoState *is)
1117 1117
 }
1118 1118
 
1119 1119
 /* called to display each frame */
1120
-static void video_refresh_timer(void *opaque)
1120
+static void video_refresh(void *opaque)
1121 1121
 {
1122 1122
     VideoState *is = opaque;
1123 1123
     VideoPicture *vp;
... ...
@@ -2872,7 +2872,7 @@ static void event_loop(void)
2872 2872
             alloc_picture(event.user.data1);
2873 2873
             break;
2874 2874
         case FF_REFRESH_EVENT:
2875
-            video_refresh_timer(event.user.data1);
2875
+            video_refresh(event.user.data1);
2876 2876
             cur_stream->refresh=0;
2877 2877
             break;
2878 2878
         default: