Commit 3338be24 authored by Stefano Sabatini's avatar Stefano Sabatini

ffplay: rename output_picture2() to output_picture()

The "2" suffix is confusing.
Signed-off-by: 's avatarStefano Sabatini <stefano.sabatini-lala@poste.it>
parent 1979d3b8
...@@ -1478,7 +1478,7 @@ static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, int64_t ...@@ -1478,7 +1478,7 @@ static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, int64_t
* compute the exact PTS for the picture if it is omitted in the stream * compute the exact PTS for the picture if it is omitted in the stream
* @param pts1 the dts of the pkt / pts of the frame * @param pts1 the dts of the pkt / pts of the frame
*/ */
static int output_picture2(VideoState *is, AVFrame *src_frame, double pts1, int64_t pos) static int output_picture(VideoState *is, AVFrame *src_frame, double pts1, int64_t pos)
{ {
double frame_delay, pts; double frame_delay, pts;
...@@ -1859,9 +1859,9 @@ static int video_thread(void *arg) ...@@ -1859,9 +1859,9 @@ static int video_thread(void *arg)
pts = pts_int*av_q2d(is->video_st->time_base); pts = pts_int*av_q2d(is->video_st->time_base);
#if CONFIG_AVFILTER #if CONFIG_AVFILTER
ret = output_picture2(is, frame, pts, pos); ret = output_picture(is, frame, pts, pos);
#else #else
ret = output_picture2(is, frame, pts, pkt.pos); ret = output_picture(is, frame, pts, pkt.pos);
av_free_packet(&pkt); av_free_packet(&pkt);
#endif #endif
if (ret < 0) if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment