summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-29 13:12:39 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-01 13:10:18 +0200
commit35fe66abbc9a6d151cedbc8d0261dc007aa71fe2 (patch)
tree19560da3923fa463a4b674bebecbbedc6f0e340a /cmdutils.c
parent77e9dee8aefa3fca75984226f66bf004bb8f9e13 (diff)
downloadffmpeg-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 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 3ad29afc90..dd19bbffaf 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -912,7 +912,7 @@ int get_filtered_video_frame(AVFilterContext *ctx, AVFrame *frame,
frame->top_field_first = picref->video->top_field_first;
frame->key_frame = picref->video->key_frame;
frame->pict_type = picref->video->pict_type;
- frame->sample_aspect_ratio = picref->video->pixel_aspect;
+ frame->sample_aspect_ratio = picref->video->sample_aspect_ratio;
return 1;
}