diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-29 12:28:44 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-01 13:09:58 +0200 |
commit | 1ba57272429fc6c86e39cd236e2b32ac545e1488 (patch) | |
tree | 6e8e29bf5b9c71420943d28cb383246f7a357270 /ffplay.c | |
parent | aba0278e9fe8e66c078588efe66f6af4db432770 (diff) | |
download | ffmpeg-1ba57272429fc6c86e39cd236e2b32ac545e1488.tar.gz |
lavc: add a pkt_pos field to AVFrame
This is similar to what was done with pkt_pts. This simplifies the
operation of extracting the pos information from the AVPacket, and
allows further simplifications.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1687,7 +1687,7 @@ static int input_request_frame(AVFilterLink *link) av_free_packet(&pkt); picref->pts = pts; - picref->pos = pkt.pos; + picref->pos = priv->frame->pkt_pos; picref->video->pixel_aspect = priv->is->video_st->codec->sample_aspect_ratio; avfilter_start_frame(link, picref); avfilter_draw_slice(link, 0, link->h, 1); |