Clément Bœsch
e5fcf3646a
lavf/id3v2: always strdup the value.
...
This simplifies the code but also fix a warning: ff_id3v1_genre_str
array contains const strings so do the string dup now instead of in
av_dict_set().
2012-05-19 12:29:30 +02:00
Clément Bœsch
6ad974ae1c
lavf/id3v2: do not export empty fields.
...
This also avoids a memleak.
2012-05-19 12:29:30 +02:00
Clément Bœsch
4fd573970a
doc/examples: make use of the parameter filters_descr parameter in init_filters().
2012-05-19 12:29:05 +02:00
Clément Bœsch
0cc9ee5fab
doc/examples: install them with the shared data.
2012-05-19 12:28:59 +02:00
Clément Bœsch
e692b9d564
doc/examples: fix pts heuristic in filtering_video.
...
Note: the condition looked wrong in the first place ("if DTS is not
defined, then set PTS to that undefined value [...]").
2012-05-19 12:28:59 +02:00
Clément Bœsch
60ea6b0996
lavfi/buffersink: typo fix in a comment.
2012-05-19 12:28:59 +02:00
Clément Bœsch
5e82ec9b42
doc/examples: properly close input in metadata.
...
Avoid some memleaks.
2012-05-19 12:28:59 +02:00
Clément Bœsch
50df68fd50
doc/examples: print operation filename in decoding_encoding.
2012-05-19 12:28:59 +02:00
Clément Bœsch
c6bbe3c2a7
doc/examples: add debug compilation flag.
2012-05-19 12:28:59 +02:00
Clément Bœsch
06e4b98382
build: remove non-existant examples rule.
2012-05-19 12:28:59 +02:00
Clément Bœsch
6c211085bb
doc/examples: use system headers in decoding_encoding and muxing.
...
All the other examples already use the system installed headers.
2012-05-19 12:28:58 +02:00
Clément Bœsch
136ca0e5f8
doc/examples: remove explicit rules.
...
These rules are already in gmake builtins.
2012-05-19 12:28:58 +02:00
Clément Bœsch
7aedfeebfb
doc/examples: add libavr to libraries to avoid link failures.
2012-05-19 12:28:48 +02:00
Clément Bœsch
eb945ab484
ffmpeg: misc cosmetics.
...
Reduce diff against avconv, and change some doxycomments into normal
comments (no point in doxifying ffmpeg internal fields).
2012-05-19 12:05:05 +02:00
Nicolas George
00be2f5726
ffmpeg: adapt to the buffersrc API changes.
2012-05-19 10:59:52 +02:00
Nicolas George
aa1246ea42
lavfi: unify src_buffer and buffersrc.
...
Most of the code is moved to buffersrc.c
to help Git see the similarities.
src_buffer.c still contains the obsolete compatibility functions.
The format change detection code was removed as it has been
implemented directly in ffmpeg.
It can easily be brought back from the history.
2012-05-19 10:59:52 +02:00
Nicolas George
7997fc49ef
lavfi: remove stray reference to planar/packed.
2012-05-19 10:59:52 +02:00
Nicolas George
9567f410aa
avfilter: move some fields in AVFilterLink.
...
It restores ABI compatibility with libav.
The fields that move were very recent or morally private.
2012-05-19 10:59:52 +02:00
Michael Niedermayer
31dfe20dd2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
doc: Replace some @file tags by more suitable markup.
fate: Set FUZZ factor of vorbis-13 test to 2.
fate: Set FUZZ factor of (e)ac3-encode test to 3.
fate: remove unused code from regressions-funcs.sh
rtmp: Don't assume path points to a string of nonzero length
avconv: fix behavior with -ss as an output option.
Conflicts:
doc/platform.texi
doc/protocols.texi
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-19 00:52:25 +02:00
Michael Niedermayer
48a40e09c4
ffmpeg: fix warning & bug for keep_pix_fmt
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-19 00:23:56 +02:00
Clément Bœsch
7f8bd16103
ffmpeg: remove unused variable i.
2012-05-18 23:40:59 +02:00
Clément Bœsch
9e2cee5770
ffmpeg: do not deprecate -vol and -map_channel.
...
These helpers are handy, just notice the user it is done using lavfi.
2012-05-18 23:40:03 +02:00
Clément Bœsch
fa29ca5f55
ffmpeg: resurrect -map_channel.
2012-05-18 23:40:03 +02:00
Clément Bœsch
48f30595f5
pan: use ff_parse_channel_layout() instead of av_get_channel_layout().
...
This allow specifying hexadecimal channel layout, and also handle the
error printing internally.
2012-05-18 23:34:11 +02:00
Clément Bœsch
7c2bb79f3b
lavu/error: fix make checkheaders.
...
The errors need to be defined before including functions depending on
them. See av_size_mult() for instance. stddef.h is included for the
prototype of av_sterror (use of size_t).
2012-05-18 23:34:11 +02:00
Clément Bœsch
1913989f56
build: add codec_names.h to SKIPHEADERS to fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
3dba3b265c
lavc/vda: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
08ad9f9a78
lavc/os2threads: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
b56f885a24
lavc/libutvideo: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
5b70e28c6e
lavc/libutvideo: protect header.
2012-05-18 23:34:11 +02:00
Clément Bœsch
c8a7dd03f8
lavc/jacosub: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
9ae47fbd9e
lavc/dcaenc: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
978c829431
lavc/g723.1: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
02908a4bd0
lavc/g723: protect header.
2012-05-18 23:34:11 +02:00
Clément Bœsch
7b78cb3a70
lavc/g729postfilter: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
1308fa42ad
lavf/swf: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
64ff8a7670
lavfi: rename all_channel_layouts.h to all_channel_layouts.inc.
...
all_channel_layouts.h is not a real header file and breaks make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
f8f3deb731
lavfi/transform: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
cb9aed10f7
lavd/dshow: fix make checkheaders.
2012-05-18 23:34:11 +02:00
Clément Bœsch
d1562d32cf
lavd/dshow: protect header.
2012-05-18 23:34:11 +02:00
Michael Niedermayer
96ac8663de
af_aresample: Consider the swresample delay during calculating timestamps.
...
The difference from this should be pretty small.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-18 23:03:27 +02:00
Michael Niedermayer
4def5d2b64
swr: add swr_get_delay() to find the exact delay the swresampler introduces.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-18 23:02:10 +02:00
Michael Niedermayer
6ba692f8a7
af_aresample: fix rounding that led to sample accumulation in the buffers.
...
This fixes a regression that apparently was missed when switching to the
in af resampler
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-18 22:57:02 +02:00
Anton Khirnov
39885a4bd7
avconv: reindent
2012-05-18 19:41:58 +02:00
Anton Khirnov
74b961db77
avconv: replace -vsync cfr code with the fps filter.
...
Invented timestamps for the h264 tests return to something resembling
sanity.
In the idroq-video-encode test when converting 25 fps -> 30 fps the
fifth frame gets duplicated instead of the sixth.
2012-05-18 19:38:40 +02:00
Anton Khirnov
755cd4197d
mov: enable parsing for VC-1.
...
This makes lavf discard broken timestamps for non-B frames in
samples/isom/vc1-wmapro.ism.
2012-05-18 19:38:21 +02:00
Anton Khirnov
54c5dd89e3
lavfi: Add fps filter.
...
Partially based on a patch by Robert Nagy <ronag89@gmail.com>
2012-05-18 19:33:54 +02:00
Anton Khirnov
7b3b24a8ee
lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
2012-05-18 19:29:39 +02:00
Anton Khirnov
0ad26cdf24
avconv: add support for audio in complex filtergraphs.
2012-05-18 19:27:00 +02:00
Diego Biurrun
90c9edba58
doc: Replace some @file tags by more suitable markup.
2012-05-18 16:08:41 +02:00