diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-29 13:12:39 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-01 13:10:18 +0200 |
commit | 35fe66abbc9a6d151cedbc8d0261dc007aa71fe2 (patch) | |
tree | 19560da3923fa463a4b674bebecbbedc6f0e340a /ffplay.c | |
parent | 77e9dee8aefa3fca75984226f66bf004bb8f9e13 (diff) | |
download | ffmpeg-35fe66abbc9a6d151cedbc8d0261dc007aa71fe2.tar.gz |
lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio
Improve consistency with libavcodec.
This breaks libavfilter API/ABI.
The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously
done with the lavfi minor number.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -692,10 +692,10 @@ static void video_image_display(VideoState *is) vp = &is->pictq[is->pictq_rindex]; if (vp->bmp) { #if CONFIG_AVFILTER - if (vp->picref->video->pixel_aspect.num == 0) + if (vp->picref->video->sample_aspect_ratio.num == 0) aspect_ratio = 0; else - aspect_ratio = av_q2d(vp->picref->video->pixel_aspect); + aspect_ratio = av_q2d(vp->picref->video->sample_aspect_ratio); #else /* XXX: use variable in the frame */ @@ -1688,7 +1688,7 @@ static int input_request_frame(AVFilterLink *link) picref->pts = pts; picref->pos = priv->frame->pkt_pos; - picref->video->pixel_aspect = priv->frame->sample_aspect_ratio; + picref->video->sample_aspect_ratio = priv->frame->sample_aspect_ratio; avfilter_start_frame(link, picref); avfilter_draw_slice(link, 0, link->h, 1); avfilter_end_frame(link); |