[FFmpeg-cvslog] ffplay: do not erase the content of vfilters
Stefano Sabatini
git at videolan.org
Wed Aug 17 10:31:26 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Wed Aug 17 00:18:06 2011 +0200| [15802e78e7d704560ab12c4d063250189f5b774a] | committer: Stefano Sabatini
ffplay: do not erase the content of vfilters
This way the content of "vfilters" can be reused.
For example when the frame size changes, the filterchain is
reconfigured reusing again the vfilters value.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15802e78e7d704560ab12c4d063250189f5b774a
---
ffplay.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index c5b26df..c31bcfb 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1702,7 +1702,6 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
if ((ret = avfilter_graph_parse(graph, vfilters, &inputs, &outputs, NULL)) < 0)
return ret;
- av_freep(&vfilters);
} else {
if ((ret = avfilter_link(filt_src, 0, filt_out, 0)) < 0)
return ret;
More information about the ffmpeg-cvslog
mailing list