Stefano Sabatini
15a316c014
Make parse_filter() parsing more robust.
...
Add ';' and '\n' to the terminating characters for the name of a
filter, and ';' to the terminating characters for its args.
Originally committed as revision 20800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-11 20:02:10 +00:00
Vitor Sessak
b755a754d1
"[" is a terminating char for the filter name. This fixes the parsing of
...
things like
[in] vflip [out];
Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 19:14:21 +00:00
Stefano Sabatini
dd04911c4e
Make graphparser.c use av_get_token().
...
This also avoids the need for '\=' escaping.
Originally committed as revision 18726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 18:17:59 +00:00
Stefano Sabatini
fd548e5bd6
Remove consume_whitespace() and replace it with direct calls to
...
strspn().
Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-21 19:08:49 +00:00
Stefano Sabatini
86a47378d5
Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
...
consistency with the rest of the API.
Originally committed as revision 17624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:03:55 +00:00
Stefano Sabatini
d7dbe55823
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
...
consistency with the rest of the API.
Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:02:09 +00:00
Stefano Sabatini
fd51ff1643
Fix avfilter_parse_graph() invalid graph description detection.
...
See the thread:
"[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()".
Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 11:47:42 +00:00
Stefano Sabatini
784712343c
Print a warning and fail if the graph description cannot be
...
parsed.
Originally committed as revision 16648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 23:56:53 +00:00
Stefano Sabatini
7f9b3266c9
Change thisIsAVar variable names to this_is_a_var style, more
...
consistent with the rest of libav*.
Originally committed as revision 16356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 09:31:05 +00:00
Stefano Sabatini
e916c2ac6a
Fix typo: ommitted -> omitted.
...
Originally committed as revision 16353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 20:26:44 +00:00
Stefano Sabatini
e4a5f397fd
Choose better names for the variables in create_filter().
...
Originally committed as revision 16320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 10:54:16 +00:00
Vitor Sessak
e2b5fdaf11
Split openLinks linked list into openInputs and openOutputs
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:20:09
Originally committed as revision 13360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:34 +00:00
Vitor Sessak
64fbf5e263
One more memory leak
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:18:03
Originally committed as revision 13359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:32 +00:00
Vitor Sessak
4d11beb293
Cosmetical: move statement
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:17:19
Originally committed as revision 13358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:29 +00:00
Vitor Sessak
64b164f44a
Plug some memory leaks
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:15:18
Originally committed as revision 13357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:26 +00:00
Vitor Sessak
90ed076ce3
Merge variable initialization and declaration
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:01:01
Originally committed as revision 13356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:24 +00:00
Vitor Sessak
c185fc5d72
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23
Originally committed as revision 13355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:21 +00:00
Vitor Sessak
5b31015a7f
Remove unnused var
...
Commited in SoC by Vitor Sessak on 2008-05-24 16:58:58
Originally committed as revision 13354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:18 +00:00
Vitor Sessak
c880791fc1
Simplify
...
Commited in SoC by Vitor Sessak on 2008-05-24 16:55:47
Originally committed as revision 13353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:16 +00:00
Vitor Sessak
c956dd431f
Use av_mallocz instead of av_malloc to simplify some code
...
Commited in SoC by Vitor Sessak on 2008-05-24 16:53:33
Originally committed as revision 13352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:11 +00:00
Vitor Sessak
e97908ee70
Factor linked list insertion in its own function
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:33:17
Originally committed as revision 13351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:09 +00:00
Vitor Sessak
c658f47eff
Remove comment redundant with those in graphparser.h
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:10:07
Originally committed as revision 13350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:04 +00:00
Vitor Sessak
089d371450
These error messages should print the filter name, not the instance name
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:08:23
Originally committed as revision 13349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:00 +00:00
Vitor Sessak
12849837d4
10l: fix previous commit
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:06:05
Originally committed as revision 13348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:57 +00:00
Vitor Sessak
ba3fed2fc2
Simplify
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:05:30
Originally committed as revision 13347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:54 +00:00
Vitor Sessak
98fb286b60
Remove senseless comments
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:03:51
Originally committed as revision 13346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:51 +00:00
Vitor Sessak
5e60018545
Cosmetics: split setting a var and checking for error
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:03:07
Originally committed as revision 13345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:48 +00:00
Vitor Sessak
69fa7e80c2
Fix doxy comment
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:57:58
Originally committed as revision 13344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:45 +00:00
Vitor Sessak
bd80b349b3
Make parse_link_name() return a pointer to the name read
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:57:20
Originally committed as revision 13343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:42 +00:00
Vitor Sessak
f5cbde2ee1
Cosmetics: more function reordering
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:53:28
Originally committed as revision 13342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:38 +00:00
Vitor Sessak
d424e138d1
Make consume_whitespace() return a number of bytes to be skiped
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:50:32
Originally committed as revision 13341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:36 +00:00
Vitor Sessak
8e74c889bc
Cosmetics: change function order
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:46:27
Originally committed as revision 13340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:34 +00:00
Vitor Sessak
74c2f1fbcb
Simplify
...
Commited in SoC by Vitor Sessak on 2008-04-23 20:46:17
Originally committed as revision 13339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:31 +00:00
Vitor Sessak
6a0c770b21
Pass the inputs and outputs of avfilter_parse_graph() with a AVFilterInOut linked list
...
Commited in SoC by Vitor Sessak on 2008-04-23 20:40:49
Originally committed as revision 13338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:27 +00:00
Vitor Sessak
d835680e3c
Cosmetics: more indentation consistency
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:24:23
Originally committed as revision 13337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:25 +00:00
Vitor Sessak
487c0e6700
More cosmetics: make indentation more consistent
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:14:08
Originally committed as revision 13336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:22 +00:00
Vitor Sessak
d9d086d901
More cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:13:06
Originally committed as revision 13335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:19 +00:00
Vitor Sessak
eee68d96d4
Move code out of if
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:05:32
Originally committed as revision 13334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:16 +00:00
Vitor Sessak
67ba10fe56
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:00:50
Originally committed as revision 13333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:13 +00:00
Vitor Sessak
f6557d5e33
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:52:24
Originally committed as revision 13332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:11 +00:00
Vitor Sessak
443c10ef2b
Factor common code out of if
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:41:07
Originally committed as revision 13331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:09 +00:00
Vitor Sessak
7baa62108a
Rename another var
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:39:42
Originally committed as revision 13330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:06 +00:00
Vitor Sessak
b2ac16dab9
Rename var
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:37:42
Originally committed as revision 13329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:03 +00:00
Vitor Sessak
eece0cb089
Move var declaration to where it is needed
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:36:26
Originally committed as revision 13328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:01 +00:00
Vitor Sessak
0de3407b8f
Replace if(!a){B}else{C} by if(a){C}else{B}
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:24:46
Originally committed as revision 13327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:58 +00:00
Vitor Sessak
4d08be028d
Remove useless assignment
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:15:23
Originally committed as revision 13326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:55 +00:00
Vitor Sessak
4fd9d074d8
Simplify while(pad){pad--; etc} to while(pad--){etc}
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:03:27
Originally committed as revision 13325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:51 +00:00
Vitor Sessak
fec2e51385
Simplify extract_inout() as suggested by Michael
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:01:31
Originally committed as revision 13324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:44 +00:00
Vitor Sessak
c9987633b1
Change the parser logic following Michael's review
...
Commited in SoC by Vitor Sessak on 2008-04-21 18:45:01
Originally committed as revision 13323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:40 +00:00
Vitor Sessak
498f030583
The name field of AVFilterInOut can be declared const
...
Commited in SoC by Vitor Sessak on 2008-04-21 18:42:11
Originally committed as revision 13322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:37 +00:00