OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
031ba46
)
ffplay: do not erase the content of vfilters
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Tue, 16 Aug 2011 22:18:06 +0000
(
00:18
+0200)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Wed, 17 Aug 2011 08:29:34 +0000
(10:29 +0200)
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.
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
c5b26df
..
c31bcfb
100644
(file)
--- 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;