Nicolas George
8b61abac2e
ffmpeg: use close_output_stream more systematically.
2012-08-22 19:04:30 +02:00
Nicolas George
666fd092be
ffmpeg: move close_output_stream earlier.
...
It will avoid a forward declaration.
2012-08-22 19:04:30 +02:00
Nicolas George
425b77114b
ffmpeg: make decoding_needed a counter.
2012-08-22 19:04:30 +02:00
Nicolas George
beeba9161a
lavfi: add a closed field to AVFilerLink.
...
It will help forward errors and maintain consistency.
2012-08-22 19:04:30 +02:00
Nicolas George
ac07f941ae
ffmpeg: use AV_BUFFERSRC_FLAG_PUSH.
...
It reduces the lifespan of buffers in filter graphs,
and therefore the memory consumption.
2012-08-22 19:04:30 +02:00
Michael Niedermayer
3f943fe681
huffman/huffyuv: move lorens huffman table generation code to huffman.c/h
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22 16:52:07 +02:00
Michael Niedermayer
4fced11df7
utvideoenc: optimize and simplify mangle_rgb_planes
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22 16:49:53 +02:00
Michael Niedermayer
3699960690
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
build: x86: Only compile mpegvideo optimizations when necessary
configure: Drop fastdiv option
build: Make the E-AC-3 encoder select the AC-3 encoder
fate: flac: Only run tests requiring samples when samples are available
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-22 14:37:03 +02:00
Stefano Sabatini
a7219529d1
examples/decoding_encoding: flush audio frames in the encoder
2012-08-22 11:54:30 +02:00
Stefano Sabatini
535df748c5
examples/decoding_encoding: re-organize frame configuration code
...
Put the relevant code in one chunk, also check for frame allocation
failures.
2012-08-22 11:54:24 +02:00
Stefano Sabatini
780bf7595e
doc/filters: fix level for the flite Examples subsection
2012-08-22 01:21:20 +02:00
Diego Biurrun
6fa488678f
build: x86: Only compile mpegvideo optimizations when necessary
2012-08-22 01:06:33 +02:00
Stefano Sabatini
2c0b164227
doc/faq: mention doc/examples
...
Also provide a link to the github FFmpeg page containing the examples.
2012-08-22 01:03:49 +02:00
Stefano Sabatini
005af8ce61
examples/muxing: cast sws_scale() argument to the expected one
...
Fix warnings:
muxing.c: In function ‘write_video_frame’:
muxing.c:326:23: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [enabled by default]
2012-08-22 01:03:48 +02:00
Stefano Sabatini
4a91962771
doc/eval: add missing documentation of functions
2012-08-22 01:03:48 +02:00
Stefano Sabatini
4a32b30e0c
doc/filters: itemize examples for pad filter, and fix a few typos
2012-08-22 01:03:42 +02:00
Diego Biurrun
66baa45801
configure: Drop fastdiv option
...
There is no point in having the user disable any fastdiv macros.
Besides the condition implementation was broken and only disabled
the C implementation, but no platform specific assembly versions.
2012-08-22 01:02:18 +02:00
Diego Biurrun
4264a0dd54
build: Make the E-AC-3 encoder select the AC-3 encoder
...
The E-AC-3 encoder depends on almost all of the code of the AC-3
encoder, so it makes no sense to enable one without the other.
2012-08-22 01:02:17 +02:00
Diego Biurrun
efa4d6adf3
fate: flac: Only run tests requiring samples when samples are available
2012-08-22 00:58:44 +02:00
Piotr Bandurski
bc151aee60
avrn: lowercase "name" and expand"long_name"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 22:32:31 +02:00
Justin Greer
e16fda9236
mov: Change default aac priming fallback from 2112 to 1024
...
This fixes priming for faac
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 22:32:31 +02:00
Justin Greer
37a15f3e66
mov: parse custom "----" Metadata
...
This fixes the priming samples for NERO AAC LC
Simplified-by: Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 22:31:26 +02:00
Michael Niedermayer
50df56161f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
dirac: use meaningful return values
flacdec: simplify sample buffer handling
flacdec: simplify loop in decode_residuals()
fate: make Ut Video encoder tests use bitexact swscale flags
build: amrwb: Drop redundant lsp dependency declaration
fate: fix utvideoenc tests
Conflicts:
libavcodec/dirac.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 16:17:13 +02:00
Jordi Ortiz
72e8d86b19
dirac: use meaningful return values
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-08-21 15:51:52 +02:00
Clément Bœsch
26ec392a0e
lavf: remove unused AVStream pointer.
2012-08-21 13:48:08 +02:00
Clément Bœsch
3dba9e19c8
lavf: add const qualifier to AVCodecDescriptor pointer in is_intra_only().
...
Fix "assignment discards ‘const’ qualifier from pointer target type" warnings.
2012-08-21 13:47:43 +02:00
Mans Rullgard
44c56a1617
flacdec: simplify sample buffer handling
...
Pass pointer to sample buffer instead of channel number to various
functions called from decode_subframe(). Also simplify a few
expressions within this function.
2012-08-21 11:23:13 +01:00
Mans Rullgard
ea98507db0
flacdec: simplify loop in decode_residuals()
2012-08-21 11:23:13 +01:00
Jan Ekström
2e2d0b1142
fate: make Ut Video encoder tests use bitexact swscale flags
...
The failures on various architectures and compilers on the RGB(A)
tests seem to have been because of one-off YCbCr->RGB conversion
results. This should make the conversion results match on most if
not all code paths.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-21 11:43:43 +02:00
Stefano Sabatini
10c3329627
doc/ffmpeg: extend documentation for -(no)stdin option
...
Fix trac ticket #1665 .
2012-08-21 10:04:30 +02:00
Jan Ekström
957521e7a4
fate: make Ut Video encoder tests use bitexact swscale flags
...
The failures on various architectures and compilers on the RGB(A)
tests seem to have been because of one-off YCbCr->RGB conversion
results. This should make the conversion results match on most if
not all code paths.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-21 09:45:01 +02:00
Michael Niedermayer
62527dc245
rmdec: parse logical-fileinfo, instead of creating phantom tracks
...
Fixes Ticket1090
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 06:15:22 +02:00
Michael Niedermayer
19a61bf39d
rmdec: pass mime type to ff_rm_read_mdpr_codecdata()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 06:14:29 +02:00
Michael Niedermayer
85a576775e
lavf: factor ff_free_stream() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 06:13:54 +02:00
Michael Niedermayer
3ac754b93b
hls: fix min DTS code, try #2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 01:52:55 +02:00
Michael Niedermayer
bf606334ad
hls: fix EOF check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 01:52:55 +02:00
Stefano Sabatini
9a199040d8
lavfi/showspectrum: add priv_class and flags to options
2012-08-21 01:29:25 +02:00
Michael Niedermayer
7123e9506b
hls: use av_compare_ts() instead of comparing apples to oranges.
...
Fixes Ticket983
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 01:00:05 +02:00
Thomas Weber
1c585dddbb
lavfi/asyncts: Fix compilation with GCC 4.7
...
Compilation failed since commit 42d621d131
Error messages:
libavfilter/af_asyncts.c:249:5: error: initializer element is not
computable at load time
libavfilter/af_asyncts.c:249:5: error: (near initialization for
‘avfilter_af_asyncts.priv_size’)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-21 00:19:13 +02:00
Nicolas George
f4aeb48516
ffmpeg: remove outdated warning.
...
-t works with complex filters now.
2012-08-21 00:03:00 +02:00
Nicolas George
ac45637324
lavf/nutenc: write stream metadata.
2012-08-20 23:54:56 +02:00
Nicolas George
454e37ce0c
lavf/nut: define fourcc DVBT for DVB_TELETEXT.
...
Allow "-map 0:s -c:s copy" to copy all subtitles streams.
2012-08-20 23:54:56 +02:00
Nicolas George
dcae2ecc13
ffmpeg: remove useless flags to EOF av_buffersrc_add_ref.
2012-08-20 23:45:15 +02:00
Nicolas George
5bbe4142d1
lavfi/buffersrc: add AV_BUFFERSRC_FLAG_PUSH.
2012-08-20 23:40:16 +02:00
Clément Bœsch
3899e49955
lavfi/edgedetect: use "@see" instead of the invalid "@url".
2012-08-20 23:12:34 +02:00
Clément Bœsch
ddda29b4a7
lavfi: add showspectrum filter.
2012-08-20 23:03:06 +02:00
Michael Niedermayer
786f06e109
h264: fix variable overflow after a few years of video playback
...
Found-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20 22:30:00 +02:00
rogerdpack
d0b68a9d57
fix spelling
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20 21:49:26 +02:00
rogerdpack
415f4cca1d
dshow:protect access to curbufsize to promote consistency
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20 20:58:05 +02:00
rogerdpack
a966d94891
dshow: avoid integer overflow when using curbufsize
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20 20:56:45 +02:00