aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_buffer.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-29 13:04:47 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-01 13:10:06 +0200
commit77e9dee8aefa3fca75984226f66bf004bb8f9e13 (patch)
treecd9590685f22841807a08105948faa115a6a31b1 /libavfilter/vsrc_buffer.h
parent1ba57272429fc6c86e39cd236e2b32ac545e1488 (diff)
downloadffmpeg-77e9dee8aefa3fca75984226f66bf004bb8f9e13.tar.gz
lavc: add a sample_aspect_ratio field to AVFrame
The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.
Diffstat (limited to 'libavfilter/vsrc_buffer.h')
-rw-r--r--libavfilter/vsrc_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h
index 79a9908c69..68f7847890 100644
--- a/libavfilter/vsrc_buffer.h
+++ b/libavfilter/vsrc_buffer.h
@@ -31,10 +31,10 @@
#include "avfilter.h"
int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
- int64_t pts, AVRational pixel_aspect);
+ int64_t pts);
int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame,
- int64_t pts, AVRational pixel_aspect, int width,
+ int64_t pts, int width,
int height, enum PixelFormat pix_fmt,
const char *sws_param);