Martin Storsjö
957635ba14
libvo-*: Fix up the long codec names
...
Include VisualOn to clarify the codec name, but remove the
actual library name from the user-friendly description.
Also mention Android, to clarify which VisualOn implementation
this refers to, since they do sell other variants of the same
code, too.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 22:38:18 +03:00
Martin Storsjö
567ad0e31d
libavcodec: Mark AVCodec->priv_class const
...
This avoids warnings of this kind, everywhere priv_class
is initialized:
warning: initialization discards qualifiers from pointer target type
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 22:14:33 +03:00
Luca Barbato
0e1a5434e2
swscale: Factorize FAST_BGR2YV12 definition.
...
It is used only for x86 so it will eventually be moved with that code
into the x86 arch subdirectory.
2011-04-13 17:24:53 +02:00
Carl Eugen Hoyos
ff5278d8f6
Mention VisualOn in the new codecs' long names to explain "libvo".
2011-04-13 15:22:07 +02:00
Martin Storsjö
2d3267936a
libvo-aacenc: Only produce extradata if the global header flag is set
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 15:43:46 +03:00
Anton Khirnov
451d566f4b
lavf: postpone removal of public metadata conversion API
...
It's been deprecated only a few months ago, long after 0.6.
2011-04-13 13:50:17 +02:00
Anton Khirnov
c776732712
lavc: postpone removal of request_channels
...
No decoder uses the supposed replacement, request_channel_layout, yet.
2011-04-13 13:50:17 +02:00
Anton Khirnov
d6ead39ee7
lavc: postpone removal of audioconvert and sample_fmt wrappers
...
Those were moved to libavutil only recently.
2011-04-13 13:50:17 +02:00
Anton Khirnov
548e62c5ae
lavf: postpone removal of deprecated avio functions
...
They've been deprecated very recently.
2011-04-13 13:50:17 +02:00
Martin Storsjö
882221afde
libopencore-amr: Cosmetics: Rewrap and align
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 13:00:21 +03:00
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>
2011-04-13 13:00:14 +03:00
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>
2011-04-13 13:00:07 +03:00
Martin Storsjö
89e7e640f7
libopencore-amr: Remove an unused state variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 12:59:58 +03:00
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>
2011-04-13 11:30:38 +03:00
Martin Storsjö
0e03f94d61
libopencore-amr: Remove a useless local variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 11:30:38 +03:00
Martin Storsjö
c48ce4eb50
libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 11:30:38 +03:00
Martin Storsjö
900a129f4f
libopencore-amr, libvo-amrwbenc: Return proper error codes in most places
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 11:30:38 +03:00
Martin Storsjö
a8ec07c933
libopencore-amr: Don't print carriage returns in log messages
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 11:30:38 +03:00
Martin Storsjö
587331414b
libopencore-amr: Remove an old workaround for libamr header weirdness
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 11:30:38 +03:00
Martin Storsjö
57ddffe843
libopencore-amr: Make the opaque encoder pointer a void*
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-13 11:30:38 +03:00
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>
2011-04-13 11:30:38 +03:00
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>
2011-04-13 11:30:37 +03:00
Stefano Sabatini
f521746b83
ffplay: implement -showmode option
...
The new option allows to select the starting show mode.
2011-04-13 10:06:27 +02:00
Stefano Sabatini
f8b8c694e9
ffplay: use symbolic constant values for show_audio
...
Also rename VideoState->show_audio to show_mode.
Improve readability.
2011-04-13 10:06:27 +02:00
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.
2011-04-13 10:06:27 +02:00
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>
2011-04-13 10:06:27 +02:00
Stefano Sabatini
c1d4bb5731
ffplay: remove unused field VideoState.dtg_active_format
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-13 10:06:27 +02:00
Luca Barbato
4c362a5212
doc: update developer guide
...
Refer to the current submission policy and refer to FATE in the
Regression Test section.
2011-04-13 10:01:14 +02:00
Carl Eugen Hoyos
05d33d8655
Fix compilation with --disable-avfilter.
2011-04-13 09:58:31 +02:00
Anton Khirnov
86a89ae3f2
lavf: bump minor and add an APIChanges entry for the last avio changes
2011-04-13 07:41:57 +02:00
Anton Khirnov
4bde56d1af
avio: deprecate url_exist in favor of avio_check.
2011-04-13 07:38:18 +02:00
Stefano Sabatini
313176565c
file: implement url_check() callback in the file and pipe protocols
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-13 07:38:18 +02:00
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>
2011-04-13 07:38:15 +02:00
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.
2011-04-13 07:36:32 +02:00
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>
2011-04-13 02:57:49 +02:00
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>
2011-04-13 02:49:22 +02:00
Alberto Delmas
d294015510
Check for successful h263 init in msmpeg4 init
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-12 19:46:44 -04:00
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>
2011-04-12 19:06:26 -04:00
Reimar Döffinger
a0f17473b3
ASS decoder also requires ass_split.o to be compiled.
2011-04-13 00:56:18 +02:00
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>
2011-04-12 23:08:55 +03:00
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>
2011-04-12 19:17:06 +02:00
Anton Khirnov
ff1ec0c3f8
avio: undeprecate av_url_read_fseek/fpause under nicer names
...
It seems their replacements won't be ready anytime soon.
2011-04-12 19:17:05 +02:00
Carl Eugen Hoyos
5c0068758f
Fix compilation with --disable-yasm.
2011-04-12 17:40:18 +02:00
Michael Niedermayer
8b7dc087e4
Add forgotten const to enum AVSampleFormat
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-12 14:26:18 +02:00
Martin Storsjö
c5e03cebd3
libvo-*: Don't use deprecated sample format names and enum names
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-12 12:52:47 +03:00
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>
2011-04-12 12:38:45 +03:00
Martin Storsjö
c41eb2ade4
libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-12 12:38:37 +03:00
Sven C. Dack
44a8b0ddd9
Cosmetics: Rename variable param as the more appropriate dpyname.
2011-04-12 09:33:19 +02:00
Sven C. Dack
9af2097120
Cosmetics: Fix white-space in av_log() message.
2011-04-12 09:27:23 +02:00
Carl Eugen Hoyos
ff2614ee4c
Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.
2011-04-12 09:17:26 +02:00