Anton Khirnov
451d566f4b
lavf: postpone removal of public metadata conversion API
...
It's been deprecated only a few months ago, long after 0.6.
14 years ago
Anton Khirnov
c776732712
lavc: postpone removal of request_channels
...
No decoder uses the supposed replacement, request_channel_layout, yet.
14 years ago
Anton Khirnov
d6ead39ee7
lavc: postpone removal of audioconvert and sample_fmt wrappers
...
Those were moved to libavutil only recently.
14 years ago
Anton Khirnov
548e62c5ae
lavf: postpone removal of deprecated avio functions
...
They've been deprecated very recently.
14 years ago
Martin Storsjö
882221afde
libopencore-amr: Cosmetics: Rewrap and align
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
02c63a109f
libopencore-amr, libvo-amrbwenc: Rename variables and functions
...
Avoid camelCase names for functions and variables.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
9b9c6405fd
libopencore-amr: Convert commented out debug logging into av_dlog
...
Also add the avctx as logging context.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
89e7e640f7
libopencore-amr: Remove an unused state variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
5d211e034e
libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate table
...
The bitrate modes are equal to the array indices.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
0e03f94d61
libopencore-amr: Remove a useless local variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
c48ce4eb50
libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
900a129f4f
libopencore-amr, libvo-amrwbenc: Return proper error codes in most places
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
a8ec07c933
libopencore-amr: Don't print carriage returns in log messages
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
587331414b
libopencore-amr: Remove an old workaround for libamr header weirdness
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
57ddffe843
libopencore-amr: Make the opaque encoder pointer a void*
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
dbff4da914
libopencore-amr: Remove unused code fragments
...
This parts are heritage from the encoder part from the old
libamr code removed in SVN rev 19365.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
a92a7ddc25
applehttp: Only check the discard flags if v->ctx actually is initialized
...
This code could be executed if the demuxer reads more than one
segment before returning from av_open_input_stream.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Stefano Sabatini
f521746b83
ffplay: implement -showmode option
...
The new option allows to select the starting show mode.
14 years ago
Stefano Sabatini
f8b8c694e9
ffplay: use symbolic constant values for show_audio
...
Also rename VideoState->show_audio to show_mode.
Improve readability.
14 years ago
Stefano Sabatini
8776f3d22e
ffplay: remove audio_write_get_buf_size() forward declaration
...
Move up the definition of audio_write_get_buf_size(), so that it is
defined before it is used. Simplify.
14 years ago
Stefano Sabatini
a6f395d6c5
ffplay: avoid unnecessary intermediary struct in queue_picture()
...
When CONFIG_AVFILTER, use a AVFrame -> AVPicture cast rather than
explicitely copy the image information from AVFrame to a new
AVPicture.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
c1d4bb5731
ffplay: remove unused field VideoState.dtg_active_format
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Luca Barbato
4c362a5212
doc: update developer guide
...
Refer to the current submission policy and refer to FATE in the
Regression Test section.
14 years ago
Carl Eugen Hoyos
05d33d8655
Fix compilation with --disable-avfilter.
14 years ago
Anton Khirnov
86a89ae3f2
lavf: bump minor and add an APIChanges entry for the last avio changes
14 years ago
Anton Khirnov
4bde56d1af
avio: deprecate url_exist in favor of avio_check.
14 years ago
Stefano Sabatini
313176565c
file: implement url_check() callback in the file and pipe protocols
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
175389c854
avio: add avio_check()
...
The new function is more flexible than url_exist(), as it allows to
specify which access flags to check, and does not require an explicit
open of the checked resource.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
cbea3ac820
avio: left-shift AVIO_ flags on next bump
...
Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
14 years ago
Michael Niedermayer
d6f79edb6e
flv demuxer: dont error out due to index problems, but inform the user about it.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
9891004ba9
Merge remote branch 'qatar/master'
...
* qatar/master:
Partially merged:flvdec: Allow parsing keyframes metadata without seeking in most cases
Error out if vaapi is not found
avio: undeprecate av_url_read_fseek/fpause under nicer names
libvo-*: Don't use deprecated sample format names and enum names
DUPLICATE flvdec: Fix support for flvtool2 "keyframes based" generated index
DUPLICATE libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.
Convert some undefined 1<<31 shifts into 1U<<31.
Conflicts:
configure
libavcodec/libvo-aacenc.c
libavcodec/libvo-amrwbenc.c
libavformat/flvdec.c
Marged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Alberto Delmas
d294015510
Check for successful h263 init in msmpeg4 init
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Vitor Sessak
96573c0d76
lavf/utils.c: Order packets with identical PTS by stream index.
...
This allows for more reproducible results when using multi-threading.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Reimar Döffinger
a0f17473b3
ASS decoder also requires ass_split.o to be compiled.
14 years ago
Martin Storsjö
578d6861a7
flvdec: Allow parsing keyframes metadata without seeking in most cases
...
Stop the avio input at a point where amf_parse_object can
continue parsing the end of the object seamlessly, when all
data is available.
If unsupported data is encountered within the keyframes object,
try seeking to the start of the keyframes object - if the seek
back was successful, the caller can continue parsing the rest
of the AMF data.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Luca Barbato
f3e3f28e80
Error out if vaapi is not found
...
Make the behaviour consistent with the other external deps.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
ff1ec0c3f8
avio: undeprecate av_url_read_fseek/fpause under nicer names
...
It seems their replacements won't be ready anytime soon.
14 years ago
Carl Eugen Hoyos
5c0068758f
Fix compilation with --disable-yasm.
14 years ago
Michael Niedermayer
8b7dc087e4
Add forgotten const to enum AVSampleFormat
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
c5e03cebd3
libvo-*: Don't use deprecated sample format names and enum names
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kharkov Alexander
b5304f7b2e
flvdec: Fix support for flvtool2 "keyframes based" generated index
...
Current keyframes data parser unconditionally rewind metadata to
the end at the end of function. As result ALL metadata located
after keyframes index not parsed, and as metadata object can have
ANY placement inside metadata it can lead to unpredictable result
(bitrate can not be found, etc.). As result FLV movie will not
play at all in such situation.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
c41eb2ade4
libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Sven C. Dack
44a8b0ddd9
Cosmetics: Rename variable param as the more appropriate dpyname.
14 years ago
Sven C. Dack
9af2097120
Cosmetics: Fix white-space in av_log() message.
14 years ago
Carl Eugen Hoyos
ff2614ee4c
Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.
14 years ago
Carl Eugen Hoyos
71306c5d21
Support CODEC_ID_PCM_F64* output via alsa (stereo only).
14 years ago
Carl Eugen Hoyos
5778466e92
Support CODEC_ID_PCM_S24* output via alsa (stereo only).
14 years ago
Carl Eugen Hoyos
4e54848bd1
Use const where appropriate.
...
Spotted by Reimar.
14 years ago
Carl Eugen Hoyos
72eb6dfe49
Mention VisualOn in the new codecs' long names to explain "libvo".
14 years ago
Alex Converse
2f072b55a4
Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.
...
(1<<31) is undefined and seems to be evaluated by gcc to -2^31 when
these formulae require 2^31.
These conversions still need fate tests.
14 years ago