[PATCH] Make avfilter_default_start_frame() correctly pass the aspect ratio information to the next filter.
Stefano Sabatini
stefano.sabatini-lala
Sat Mar 6 22:54:38 CET 2010
---
libavfilter/defaults.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index 7e02ea8..3484e0e 100644
--- a/libavfilter/defaults.c
+++ b/libavfilter/defaults.c
@@ -74,6 +74,7 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref)
if(out) {
out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE, out->w, out->h);
out->outpic->pts = picref->pts;
+ out->outpic->pixel_aspect = picref->pixel_aspect;
avfilter_start_frame(out, avfilter_ref_pic(out->outpic, ~0));
}
}
--
1.6.6.1
--ibTvN161/egqYuK8--
More information about the ffmpeg-devel
mailing list