Browse Source

ffplay: rename video_refresh_timer() to video_refresh()

The new name is shorter and less confusing.
tags/n0.8
Stefano Sabatini 14 years ago
parent
commit
4a22ea4da1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ffplay.c

+ 2
- 2
ffplay.c View File

@@ -1117,7 +1117,7 @@ static double compute_target_time(double frame_current_pts, VideoState *is)
} }


/* called to display each frame */ /* called to display each frame */
static void video_refresh_timer(void *opaque)
static void video_refresh(void *opaque)
{ {
VideoState *is = opaque; VideoState *is = opaque;
VideoPicture *vp; VideoPicture *vp;
@@ -2872,7 +2872,7 @@ static void event_loop(void)
alloc_picture(event.user.data1); alloc_picture(event.user.data1);
break; break;
case FF_REFRESH_EVENT: case FF_REFRESH_EVENT:
video_refresh_timer(event.user.data1);
video_refresh(event.user.data1);
cur_stream->refresh=0; cur_stream->refresh=0;
break; break;
default: default:


Loading…
Cancel
Save