Stefano Sabatini
42d621d131
lavfi: add priv class to filter definitions and flags to filter internal options
...
This allows the iteration callbacks to discover the internal class and
options, and show them when required.
2012-08-18 10:19:05 +02:00
Stefano Sabatini
831a999dda
lavfi/movie: split class definitions for movie and amovie
...
This is required for iterating through the filter class (without
incurring into a loop).
2012-08-18 10:04:25 +02:00
Stefano Sabatini
a77436abad
lavfi/lut: duplicate class definitions for each lut variant filter
...
This is due to the design of components iteration through AVClass
child_class_next() callback, which requires that two components cannot
share the same class.
2012-08-18 10:04:25 +02:00
Stefano Sabatini
8e2cf68d09
doc/Makefile: add doc target, as an alias for "documentation"
...
Consistent with --enable-doc, and easier to type.
2012-08-18 10:04:25 +02:00
Nicolas George
9467f4eb5d
lavc/tscc: use reget_buffer.
...
The previous code would release the buffer and get it
immediately after, assuming the contents is the same.
2012-08-18 09:52:15 +02:00
Anton Khirnov
7f9aaa499b
mpegvideo_enc: don't use deprecated avcodec_encode_video().
2012-08-18 08:48:30 +02:00
Anton Khirnov
7c10194996
cmdutils: refactor -codecs option.
...
Make it print a list of AVCodecDescriptors.
Add new -decoders and -encoders options that print lists of decoders and
encoders respectively.
2012-08-18 08:48:30 +02:00
Anton Khirnov
3c0df90584
avconv: make -shortest a per-output file option.
2012-08-18 08:48:30 +02:00
Anton Khirnov
91e59fea30
lavc: add avcodec_descriptor_get_by_name().
2012-08-18 08:48:30 +02:00
Anton Khirnov
0a0f19b577
lavc: add const to AVCodec* function parameters.
2012-08-18 08:48:30 +02:00
Anton Khirnov
15c71dfd03
swf(dec): replace CODEC_ID with AV_CODEC_ID
2012-08-18 08:48:30 +02:00
Anton Khirnov
e0aa5e772b
dvenc: don't use deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE
2012-08-18 08:48:30 +02:00
Michael Niedermayer
7e49474aa0
ffmenc: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-18 05:02:58 +02:00
Michael Niedermayer
b5abebe164
acelp_filters: switch to avassert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-18 05:02:08 +02:00
Samuel Pitoiset
8337b5db96
rtmpdh: Do not generate the same private key every time when using libnettle
...
Replace mpz_random by mpz_urandomb with a random state initialization in
order to improve the randomness.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-17 23:51:53 +03:00
Michael Niedermayer
ceb8773e16
libvpxenc: Fix CQ encoding without a specified bitrate
...
Also print a warning if neither quality nor bitrate is specified
and use the libvpx default bitrate in this case.
The idea of using the default bitrate is from Luca Barbato
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-17 22:03:02 +02:00
Michael Niedermayer
1ee7a2955f
libvpxenc: only force CBR if a bitrate is set
...
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-17 21:56:58 +02:00
Jordi Ortiz
a2dd4f7780
rtp: remove ff_rtp_get_rtcp_file_handle().
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-17 22:15:56 +03:00
Jordi Ortiz
e7993ece9b
rtsp.c: use ffurl_get_multi_file_handle() instead of ff_rtp_get_rtcp_file_handle()
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-17 22:15:46 +03:00
Jordi Ortiz
d6b9da1178
avio: add (ff)url_get_multi_file_handle() for getting more than one fd
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-17 22:14:30 +03:00
Uoti Urpala
2e8f3cbcda
h264: vdpau: fix crash with unsupported colorspace
...
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420.
Add a check to error out instead (current hardware does not support
other colorspaces, so successful decoding is not possible).
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-17 20:08:53 +03:00
Martin Storsjö
ca00a7e809
amrwbdec: Decode the fr_quality bit properly
...
The way this bit is decoded was accidentally flipped in b70feb405
,
leading to warnings "Encountered a bad or corrupted frame" for each
decoded frame.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-17 20:08:40 +03:00
Nedeljko Babic
6f98e298cc
mips: change list of files with MIPS copyright notice in mips.txt
...
Add files created for MP3 optimization that have MIPS copyright
notice in them to list of files in mips.txt.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-17 18:54:50 +02:00
Nedeljko Babic
2b02bc6422
mips: add assembler flags for mips32r2 ISA and mhard-float
...
For some compilers ISA older than mips32r2 is set as default.
Because of them assembler flag "-mips32r2" needs to be added
for CPUs that support mips32r2 ISA in part of configure script
where ISA capabilities are checked.
"-mhard-float" assembler flag is also added for CPUs that have FPU.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-17 18:54:41 +02:00
Nicolas George
9341bbfc51
vf_yadif: fix permissions.
...
Require AV_PERM_PRESERVE and leave harmless permissions
alone for the next filter.
2012-08-17 18:26:42 +02:00
Nicolas George
71adb74059
vf_tinterlace: leave harmless permissions alone.
2012-08-17 18:26:42 +02:00
Nicolas George
d37f823207
vf_thumbnail: fix permissions.
2012-08-17 18:26:42 +02:00
Nicolas George
469d07a0e4
vf_select: require AV_PERM_PRESERVE.
...
This is only necessary because of the poll_frame implementation.
Removing it altogether would be another solution.
2012-08-17 18:26:42 +02:00
Nicolas George
f6647d8825
vf_removelogo: fix permissions.
...
The branch with the test was already impossible.
2012-08-17 18:26:41 +02:00
Nicolas George
616c3f3ee2
vf_overlay: fix permissions.
2012-08-17 18:26:41 +02:00
Nicolas George
5ec6ae91ba
vf_idet: fix permissions.
...
Only write needs to be removed, other can be left.
2012-08-17 18:26:41 +02:00
Nicolas George
3bc644e044
vf_fps: fix permissions.
2012-08-17 18:26:41 +02:00
Nicolas George
738fab17ea
vf_fieldorder: fix permissions.
2012-08-17 18:26:41 +02:00
Nicolas George
3c0cc3ae67
vf_fade: fix permissions.
2012-08-17 18:26:41 +02:00
Nicolas George
d5765d4725
vf_drawtext: fix permissions.
2012-08-17 18:26:41 +02:00
Nicolas George
0238806f64
vf_drawtext: fix permissions.
2012-08-17 18:26:40 +02:00
Nicolas George
84923555bb
vf_deshake: fix permissions.
2012-08-17 18:26:40 +02:00
Nicolas George
f3133a48e5
vf_delogo: fix permissions.
2012-08-17 18:26:40 +02:00
Nicolas George
12ff3faec0
vf_colormatrix: fix permissions.
2012-08-17 18:26:40 +02:00
Nicolas George
ceb8dc1e04
vf_ass: fix permissions.
2012-08-17 18:26:40 +02:00
Nicolas George
07663871e1
vf_alphamerge: fix permissions.
2012-08-17 18:26:40 +02:00
Nicolas George
de35d2b498
avf_concat: fix permissions.
2012-08-17 18:26:39 +02:00
Nicolas George
44127c0489
af_channelmap: fix permissions.
2012-08-17 18:26:39 +02:00
Nicolas George
368f368e59
af_channelmap: require AV_PERM_PRESERVE.
2012-08-17 18:26:39 +02:00
Nicolas George
44aeb06290
fifo: fix permissions.
2012-08-17 18:26:39 +02:00
Nicolas George
a34eb393fc
split: set rej_perms = AV_PERM_WRITE on outputs.
2012-08-17 18:26:39 +02:00
Nicolas George
a0d274d228
sink_buffer: require AV_PERM_PRESERVE.
2012-08-17 18:26:39 +02:00
Nicolas George
e54e30c889
lavfi: grant all permissions on mallocated audio buffers.
...
The permissions not requested by the filter that created
the buffer may be useful for a later filter and avoid a copy.
2012-08-17 18:26:38 +02:00
Nicolas George
cc8104b908
lavfi: fix erroneous use of AV_PERM_PRESERVE in ff_inplace_start_frame.
...
ff_inplace_start_frame looks useless anyway.
2012-08-17 18:26:38 +02:00
Nicolas George
046eb21c72
lavfi: grant all permissions on mallocated video buffers.
...
The permissions not requested by the filter that created
the buffer may be useful for a later filter and avoid a copy.
2012-08-17 18:26:38 +02:00