Baptiste Coudurier
37c0a443f9
Fix libx264 fastfirstpass, move apply_fastfirstpass after user customized options.
2011-04-19 15:25:07 -07:00
Nicolas George
90a2929416
oggparsecelt: cosmetic: order lines more logically.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
2011-04-19 23:36:29 +02:00
Nicolas George
51c1e255e5
oggparsecelt: call av_set_pts_info unconditionally.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
2011-04-19 23:03:51 +02:00
Baptiste Coudurier
46f83e5b3c
In libx264 wrapper, do not set pic quality if no frame is output, avoids
...
uninitialized reads.
2011-04-19 13:31:27 -07:00
Baptiste Coudurier
d319064465
Prefer codec specific options over global ones, allowing codec
...
to override global options.
2011-04-19 13:12:24 -07:00
Anton Khirnov
7dfe244fbd
sws: remove disabled cruft.
2011-04-19 21:50:12 +02:00
Anton Khirnov
975c273405
lavu: remove disabled ff_random_get_seed cruft.
2011-04-19 21:50:12 +02:00
Anton Khirnov
488d2b6349
lavu: remove disabled sha1 cruft.
2011-04-19 21:50:10 +02:00
Justin Ruggles
31d76ec288
In avcodec_open(), set return code to an error value only when an error occurs
...
instead of unconditionally at the start of the function.
This fixes a bug where a successful call to ff_thread_init() masks errors that
occur after that point in the function. It also makes future bugs like this
less likely since the error code is now set near to the point in the code
where the error is found.
2011-04-19 14:10:03 -04:00
Anton Khirnov
cda7aa9eba
lavc: remove reference to opt.h from Makefile.
...
Fixes make install after 3453a231a6
.
2011-04-19 19:50:23 +02:00
Stefano Sabatini
55815edca0
prefer avio_check() over url_exist()
...
The problem with url_exist() is that it tries to open a resource in
RDONLY mode. If the file is a FIFO and there is already a reading
client, the open() call will hang.
By using avio_check() with access mode of 0, the second reading
process will check if the file exists without attempting to open it,
thus avoiding the lock.
Fix issue #1663 .
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-19 19:48:07 +02:00
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.
This breaks API.
2011-04-19 19:47:58 +02:00
Anton Khirnov
490a022d86
lavu: remove misc disabled cruft
2011-04-19 19:04:28 +02:00
Anton Khirnov
9e5c62c97f
lavu: remove FF_API_OLD_IMAGE_NAMES cruft
2011-04-19 19:04:01 +02:00
Anton Khirnov
516fb5e40c
lavu: remove FF_API_OLD_EVAL_NAMES cruft
2011-04-19 19:03:44 +02:00
Anton Khirnov
3453a231a6
lavc: remove misc disabled cruft.
2011-04-19 19:01:22 +02:00
Anton Khirnov
251cf997cf
lavc: remove the FF_API_INOFFICIAL cruft.
2011-04-19 18:41:32 +02:00
Anton Khirnov
41d0eb1c81
lavc: remove the FF_API_SET_STRING_OLD cruft.
2011-04-19 18:41:00 +02:00
Anton Khirnov
01a4259b8d
lavc: remove the FF_API_USE_LPC cruft.
2011-04-19 18:40:35 +02:00
Anton Khirnov
db4d3a7421
lavc: remove the FF_API_SUBTITLE_OLD cruft.
2011-04-19 18:39:40 +02:00
Anton Khirnov
e89e5afdd0
lavc: remove the FF_API_VIDEO_OLD cruft.
2011-04-19 18:37:21 +02:00
Anton Khirnov
9b4f1cdb6a
lavc: remove the FF_API_AUDIO_OLD cruft.
2011-04-19 18:37:03 +02:00
Anton Khirnov
20d33ee8b1
lavc: remove the FF_API_OPT_SHOW cruft.
2011-04-19 18:36:15 +02:00
Anton Khirnov
42420e7b94
lavc: remove the FF_API_MM_FLAGS cruft.
2011-04-19 18:35:56 +02:00
Anton Khirnov
32b80696e0
lavf: remove misc disabled cruft.
2011-04-19 18:31:55 +02:00
Anton Khirnov
df56d58339
lavf: remove FF_API_INDEX_BUILT cruft
2011-04-19 18:31:36 +02:00
Anton Khirnov
7f804085f1
lavf: remove FF_API_URL_CLASS cruft.
2011-04-19 18:31:12 +02:00
Anton Khirnov
5763e63913
lavf: remove FF_API_SYMVER cruft
2011-04-19 18:28:39 +02:00
Anton Khirnov
b4c5acabb9
lavf: remove FF_API_FIRST_FORMAT cruft
2011-04-19 18:28:39 +02:00
Anton Khirnov
583f6c67b6
lavf: remove FF_API_PARAMETERS_CODEC_ID cruft
2011-04-19 18:28:39 +02:00
Anton Khirnov
fc2d3a19c5
lavf: remove FF_API_LAVF_UNUSED cruft
2011-04-19 18:28:39 +02:00
Anton Khirnov
58d5ff0abf
lavf: remove FF_API_PARSE_FRAME_PARAM cruft
2011-04-19 18:28:39 +02:00
Anton Khirnov
4df001d77f
lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
5048e36c99
lavf: remove FF_API_URL_SPLIT cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
c4efa7c229
lavf: remove FF_API_UDP_GET_FILE cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
61573bf1ba
lavf: remove FF_API_GUESS_FORMAT cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
dcd4a7b62f
lavf: remove FF_API_REGISTER_PROTOCOL cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
468644f6c1
lavf: remove FF_API_URL_RESETBUF cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
575c18da1b
lavf: remove FF_API_OLD_METADATA cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
761ad42968
lavf: remove FF_API_MAX_STREAMS cruft
2011-04-19 18:28:38 +02:00
Kostya
aad2f2f477
document introduction of side data in APIchanges
...
this should've been written earlier, sorry
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-19 18:28:37 +02:00
Diego Biurrun
151cd4f982
pcm: Add const to cast in ENCODE macro.
...
This fixes a lot of warnings of the sort:
libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type
2011-04-19 16:18:59 +02:00
Nicolas George
e61b83d29e
Ogg: add support for Xiph's CELT (Opus) codec.
...
This patch also introduces CODEC_ID_CELT.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
2011-04-19 15:49:32 +02:00
Stefano Sabatini
484a330890
pad: make the filter parametric
...
Address trac issue #61 .
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-19 15:28:01 +02:00
Peter Belkner
39e69d0b88
32bit libmp3lame support.
2011-04-19 13:25:05 +02:00
Peter Belkner
22fa406f38
Check avcodec_alloc_frame() failure.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-19 13:25:05 +02:00
Stefano Sabatini
c438c90756
ffmpeg: reformat resample condition code in transcode()
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-19 12:23:59 +02:00
Stefano Sabatini
0f230c53df
ffmpeg: factorize resampling condition check in do_video_out()
...
Simplify and improve readability.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-19 12:23:59 +02:00
Stefano Sabatini
6a46aab49b
ffmpeg: prefer "dec" over "ist->st->codec" in do_video_out() snippet
...
Simplify, ease readability.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-19 12:23:59 +02:00
Stefano Sabatini
dfc6f5ae90
ffmpeg: improve reporting if size/pixel format changes
...
Use av_log() rather than fprintf(stderr, ...), and show information
related to the previous size/pixel format configuration.
Consistent with the corresponding message issued in case of audio
configuration change.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-19 12:23:58 +02:00