Reimar Döffinger [Sun, 21 Nov 2010 10:38:08 +0000 (10:38 +0000)]
Fix indentation.
Originally committed as revision 25780 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 21 Nov 2010 10:37:26 +0000 (10:37 +0000)]
Add explanation and alternative implementation for strange xan
gamma correction.
Originally committed as revision 25779 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 21 Nov 2010 10:32:23 +0000 (10:32 +0000)]
WC3/xan: move palette handling to decoder, avoiding need for
PaletteControl.
This also fixes playback of some files with ffplay (images were
corrupted for a short time after a palette change).
Originally committed as revision 25778 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 21 Nov 2010 10:24:48 +0000 (10:24 +0000)]
Add av_append_packet function, to be used in code that merges packets
to allow palette handling without using PaletteControl.
Originally committed as revision 25777 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 21 Nov 2010 10:21:06 +0000 (10:21 +0000)]
Add a av_grow_packet function, to be used by code that merges
palette and video data packets to get rid of PaletteControl.
Originally committed as revision 25776 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Sat, 20 Nov 2010 11:24:19 +0000 (11:24 +0000)]
adpcm: Fix a comment in the trellis heap code
This makes the wording consistent with how people usually talk about heaps.
Originally committed as revision 25775 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 20 Nov 2010 09:36:46 +0000 (09:36 +0000)]
Merge rotation into lookup table.
Originally committed as revision 25774 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 20 Nov 2010 08:03:58 +0000 (08:03 +0000)]
Cosmetics, fix indentation
Originally committed as revision 25773 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Fri, 19 Nov 2010 17:36:29 +0000 (17:36 +0000)]
adpcm: Only increment heap_pos after finding a good enough sample
This increases the PSNR slightly (about 0.1 dB) for trellis sizes
below 8, and gives equal PSNR for sizes above that.
Originally committed as revision 25769 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Fri, 19 Nov 2010 17:35:52 +0000 (17:35 +0000)]
adpcm: Use a hash table to improve checking for duplicate samples
This lowers the run time from 158 to 21 seconds, for -trellis 8
with a 30 second sample on my machine.
This requires 64 KB additional memory.
Originally committed as revision 25768 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 19 Nov 2010 06:52:30 +0000 (06:52 +0000)]
Fix qdm2 decoder packet handling to match the api
Originally committed as revision 25767 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 19 Nov 2010 00:04:23 +0000 (00:04 +0000)]
Order matters, fix test files linking.
Originally committed as revision 25766 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 18 Nov 2010 20:37:22 +0000 (20:37 +0000)]
Log error message in case of invalid parsing.
Originally committed as revision 25765 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 18 Nov 2010 20:37:20 +0000 (20:37 +0000)]
Fix style: if( -> if (.
Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 18 Nov 2010 20:37:17 +0000 (20:37 +0000)]
Remove redundant information in header.
Originally committed as revision 25763 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Wed, 17 Nov 2010 23:23:25 +0000 (23:23 +0000)]
100l: Fix crash in SPDIF muxer.
Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 17 Nov 2010 22:58:28 +0000 (22:58 +0000)]
move the av_parse_color() function from libavfilter to libavcore
Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Wed, 17 Nov 2010 12:22:59 +0000 (12:22 +0000)]
Add support for IEC 61937 ("SPDIF") encapsulation for E-AC-3.
Only works via HDMI.
Patch by Anssi Hannula (anssi d hannula a iki d fi), based on some work
by myself.
Originally committed as revision 25760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 17 Nov 2010 01:03:06 +0000 (01:03 +0000)]
100L fix get_video_buffer in pad filter, get_video_buffer will store wrong values for w and h
Originally committed as revision 25759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Tue, 16 Nov 2010 23:50:18 +0000 (23:50 +0000)]
av_find_stream_info(): set subtitle codec time_base
Originally committed as revision 25758 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 16 Nov 2010 05:55:09 +0000 (05:55 +0000)]
In mov demuxer, export .mov encoder metadata tag
Originally committed as revision 25757 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 16 Nov 2010 01:00:55 +0000 (01:00 +0000)]
Make DNxHD encoder produce files that are strictly VC-3 compatible
Originally committed as revision 25756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Mon, 15 Nov 2010 15:08:53 +0000 (15:08 +0000)]
rtsp: Parse and use the Content-Base reply header, if present
This fixes playing RTSP urls with query parameters.
Originally committed as revision 25755 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Mon, 15 Nov 2010 09:30:20 +0000 (09:30 +0000)]
16l trocadero: Musepack SV7 decoder may skip more than 16 bits at the
beginning of the frame, so make it use skip_bits_long() instead of
skip_bits() for that.
Originally committed as revision 25754 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sun, 14 Nov 2010 17:33:43 +0000 (17:33 +0000)]
minor bump and Changelog entry for r25747
Originally committed as revision 25753 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sun, 14 Nov 2010 17:31:06 +0000 (17:31 +0000)]
minor bump and APIchanges for r25745
Originally committed as revision 25752 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Sun, 14 Nov 2010 10:23:58 +0000 (10:23 +0000)]
adpcm: Fix a comment
Originally committed as revision 25751 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sun, 14 Nov 2010 09:35:51 +0000 (09:35 +0000)]
Add AMR-NB FATE tests
Originally committed as revision 25750 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sun, 14 Nov 2010 09:34:55 +0000 (09:34 +0000)]
Add Musepack7 FATE test
Originally committed as revision 25749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 13 Nov 2010 14:37:48 +0000 (14:37 +0000)]
Fix frei0r filter after av_parse_color() syntax change.
Originally committed as revision 25748 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 13 Nov 2010 14:18:59 +0000 (14:18 +0000)]
add missing files in previous commit (ASS encoder and decoder)
Originally committed as revision 25747 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 13 Nov 2010 14:17:57 +0000 (14:17 +0000)]
add ASS encoder and decoder
Originally committed as revision 25746 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 13 Nov 2010 13:57:49 +0000 (13:57 +0000)]
allow passing subtitles header between decoder and encoder
Originally committed as revision 25745 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 13 Nov 2010 13:55:01 +0000 (13:55 +0000)]
improve av_parse_color() to allow for non-null terminated color string
Originally committed as revision 25744 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 13 Nov 2010 13:49:58 +0000 (13:49 +0000)]
improve av_parse_color() to support html formatting
Originally committed as revision 25743 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 13 Nov 2010 13:46:36 +0000 (13:46 +0000)]
add global header support for subtitles encoding
Originally committed as revision 25742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 13 Nov 2010 10:01:18 +0000 (10:01 +0000)]
Fix revision number of the last APIchanges entry.
Originally committed as revision 25741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 13 Nov 2010 09:51:22 +0000 (09:51 +0000)]
Make avfiltergraph.h public.
Originally committed as revision 25740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 13 Nov 2010 09:20:32 +0000 (09:20 +0000)]
In ff_get_ref_perms_string() use 'u' and 'U' for representing
AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char
'r' used for AV_PERM_READ.
Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Sat, 13 Nov 2010 08:55:15 +0000 (08:55 +0000)]
lavf/utils: use av_{i/o}format_next() instead of first_{i/o}format
Originally committed as revision 25738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 13 Nov 2010 00:21:28 +0000 (00:21 +0000)]
Prefix with "ff_" the functions:
ff_avfilter_graph_check_validity()
ff_avfilter_graph_config_links()
ff_avfilter_graph_config_formats()
and move their declaration to internal.h. These functions are never
used in application code, so it is better to consider them internal
functions, this can be changed later if necessary. Simplify API.
Originally committed as revision 25737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Fri, 12 Nov 2010 20:15:36 +0000 (20:15 +0000)]
Remove now unused file (should have been part of commit r25735)
Originally committed as revision 25736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Fri, 12 Nov 2010 20:04:41 +0000 (20:04 +0000)]
Test 4XM decoding (and not only demuxing) in FATE tests
Originally committed as revision 25735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Fri, 12 Nov 2010 19:55:26 +0000 (19:55 +0000)]
Fix visual artifacts in 4XM decoding on big-endian system
Originally committed as revision 25734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Fri, 12 Nov 2010 12:30:27 +0000 (12:30 +0000)]
adpcm: Replace any of the leaf nodes in the heap
By not looking for the exactly largest node, we avoid an O(n) seek through
the leaf nodes. Just pick one (not the same one every time) and try replacing
that node with the new one.
For -trellis 8, this lowers the run time from 190 to 158 seconds,
for a 30 second 44 kHz mono sample, on my machine.
Originally committed as revision 25733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Fri, 12 Nov 2010 12:28:02 +0000 (12:28 +0000)]
Reindent
Originally committed as revision 25732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Fri, 12 Nov 2010 12:27:27 +0000 (12:27 +0000)]
adpcm: Store the trellis nodes in a heap instead of a sorted array
This avoids having to memmove the large parts of the array when inserting into
it.
For -trellis 8, this lowers the run time from 245 seconds to 190 seconds,
for a 30 second 44 kHz mono sample, on my machine.
Originally committed as revision 25731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 12 Nov 2010 11:04:40 +0000 (11:04 +0000)]
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Fri, 12 Nov 2010 06:56:26 +0000 (06:56 +0000)]
ffmpeg.c: add a forgotten break in chapter copying
only copy chapters from one file
Originally committed as revision 25729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Fri, 12 Nov 2010 06:56:23 +0000 (06:56 +0000)]
ffmpeg.c: reindent
Originally committed as revision 25728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Fri, 12 Nov 2010 06:56:19 +0000 (06:56 +0000)]
ffmpeg.c: add an option for copying chapters
fixes issue 2068
Originally committed as revision 25727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Fri, 12 Nov 2010 05:38:57 +0000 (05:38 +0000)]
10l: dx shouldn't exist.
sorry sorry sorry sorry
Originally committed as revision 25726 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Fri, 12 Nov 2010 05:34:32 +0000 (05:34 +0000)]
10l: vorbisdec: declare dy
Originally committed as revision 25725 to svn://svn.ffmpeg.org/ffmpeg/trunk
Gregory Maxwell [Fri, 12 Nov 2010 04:33:26 +0000 (04:33 +0000)]
vorbisdec: Fix floor1 decoding
An intermediate value in the floor 1 linear interpolation was
overflowing
resulting in obvious artifacts on some files.
e.g.
http://upload.wikimedia.org/wikipedia/commons/7/79/Big_Buck_Bunny_small.ogv
Prior to this fix 87 out of 128 64kbit/s mono files decoded with ffmpeg
have
lower PEAQ ODG values than the same files decoded with libvorbis. With
this
fix none of that set have significantly worse ODG values than libvorbis.
Fixes issue 2352
Patch by Gregory Maxwell <greg@xiph.org>
Originally committed as revision 25724 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 11 Nov 2010 22:41:22 +0000 (22:41 +0000)]
Add missing check on the existence of an associated output pad for
each specified output link label.
Fix crash.
Originally committed as revision 25723 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Thu, 11 Nov 2010 21:29:37 +0000 (21:29 +0000)]
remove declaration inside for(), i is already declared
Originally committed as revision 25722 to svn://svn.ffmpeg.org/ffmpeg/trunk
Nicolas George [Thu, 11 Nov 2010 15:24:11 +0000 (15:24 +0000)]
MJPEG/AVI1 to JPEG/JFIF bitstream filter.
Originally committed as revision 25721 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 11 Nov 2010 14:34:27 +0000 (14:34 +0000)]
Remove bitrate tolerance from libx264 interface
Nobody ever uses it correctly, and ffmpeg sets it incorrectly, so we'll just
leave it out.
Originally committed as revision 25720 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 10 Nov 2010 23:37:12 +0000 (23:37 +0000)]
drop support for base-10 encoded alpha component in av_parse_color()
Originally committed as revision 25719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 10 Nov 2010 20:13:24 +0000 (20:13 +0000)]
In avcodec_pix_fmt_string() use local variable pixdesc rather than
av_pix_fmt_descriptors[pix_fmt], simplify.
Originally committed as revision 25718 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 10 Nov 2010 20:13:19 +0000 (20:13 +0000)]
Make avcodec_pix_fmt_string() use the information in the pixel format
descriptors for printing the number of channels/components.
Also replace the term "nb_channels" with "nb_components" which is more
consistent with the FFmpeg internal terminology, and is somehow
different with respect to the current definition of nb_channels in
PixFmtInfo.
See thread:
Subject: [FFmpeg-devel] [PATCH 6/8] Make avcodec_pix_fmt_string() use the
information in the pixel format descriptors for printing the
number of planes. Also replace the term "nb_channels" with
"nb_planes" which is more correct.
Date: Fri, 5 Nov 2010 12:01:38 +0100
Originally committed as revision 25717 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Wed, 10 Nov 2010 12:45:41 +0000 (12:45 +0000)]
Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_pointer and alloc_size.
Originally committed as revision 25716 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Wed, 10 Nov 2010 00:04:12 +0000 (00:04 +0000)]
Move code to be used by the IEC 61937 demuxer from spifenc.c into common
files spdif.h and spdif.c.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 25715 to svn://svn.ffmpeg.org/ffmpeg/trunk
Nicolas Kaiser [Tue, 9 Nov 2010 23:58:41 +0000 (23:58 +0000)]
Simplify: Remove impossible condition.
Patch by Nicolas Kaiser, nikai nikai net
Originally committed as revision 25714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Tue, 9 Nov 2010 23:57:02 +0000 (23:57 +0000)]
Rename spdif.c as spdifenc,c to prepare for future spdif demuxer.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 25713 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 9 Nov 2010 22:22:36 +0000 (22:22 +0000)]
Move internal function ff_set_systematic_pal() to libavcore, and
rename it ff_set_systematic_pal2().
Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
Thilo Borgmann [Mon, 8 Nov 2010 15:24:11 +0000 (15:24 +0000)]
Reindent after last commit.
Originally committed as revision 25711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Thilo Borgmann [Mon, 8 Nov 2010 15:22:15 +0000 (15:22 +0000)]
Allow clean initialization of lut_status array by changing type to signed int.
Originally committed as revision 25710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 8 Nov 2010 14:27:16 +0000 (14:27 +0000)]
Add a file for bitstream filters documentation.
Based on a patch by Nicolas George
<@var{name}.@var{surname}@@normalesup.@code{org}>.
Originally committed as revision 25709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 8 Nov 2010 14:06:49 +0000 (14:06 +0000)]
Use hierarchic names convention (prefix them with av_expr) for the
eval API.
More grep-friendly and more consistent with the rest of the FFmpeg
API.
Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 8 Nov 2010 12:32:39 +0000 (12:32 +0000)]
Rename avfilter_destroy() as avfilter_free().
The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Mon, 8 Nov 2010 06:47:41 +0000 (06:47 +0000)]
ffmpeg.c: allow using negative file indices to disable metadata copying
Originally committed as revision 25706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 22:56:29 +0000 (22:56 +0000)]
Remove graphparser.h header, move AVFilterInOut and
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.
Simplify, and less confusing for the user.
Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 22:47:37 +0000 (22:47 +0000)]
Document AVFilterInOut fields.
Originally committed as revision 25704 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 22:47:33 +0000 (22:47 +0000)]
Extend documentation for parse_filter().
Originally committed as revision 25703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 19:22:55 +0000 (19:22 +0000)]
Fix date in latest APIchanges entry.
Originally committed as revision 25702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:56:44 +0000 (18:56 +0000)]
Bump lavfi minor and add APIchanges entry after the rename of
AVFilterInOut.filter.
Originally committed as revision 25701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:18 +0000 (18:40 +0000)]
Rename AVFilterInOut field filter to filter_ctx, more semantically correct.
Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:14 +0000 (18:40 +0000)]
Make avfilter_graph_parse() always return meaningful error codes.
Originally committed as revision 25699 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:12 +0000 (18:40 +0000)]
Make parse_outputs() always return meaningful error codes.
Originally committed as revision 25698 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:09 +0000 (18:40 +0000)]
Add missing memory check in parse_inputs(), and fix possible (yet very unlikely) crash.
Originally committed as revision 25697 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:07 +0000 (18:40 +0000)]
Make parse_inputs() return AVERROR(EINVAL) rather than -1 in case the
link label parsed by parse_link_name() is invalid.
Originally committed as revision 25696 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:04 +0000 (18:40 +0000)]
Add missing check in link_filter_inouts(), and fix possible (yet very unlikely) crash.
Originally committed as revision 25695 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:40:01 +0000 (18:40 +0000)]
Rename the variable filter to filt_ctx in link_filter_inouts, as the variable denotes a filter context.
Less confusing.
Originally committed as revision 25694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:39:58 +0000 (18:39 +0000)]
Make link_filter_inouts() return meaningful error codes.
Originally committed as revision 25693 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:39:54 +0000 (18:39 +0000)]
Change the signature of parse_filter() to make it return an error code.
Originally committed as revision 25692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 18:39:52 +0000 (18:39 +0000)]
Change the signature of create_filter() to make it return an error code.
Originally committed as revision 25691 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Sun, 7 Nov 2010 18:04:46 +0000 (18:04 +0000)]
Make x11grab cursor drawing suck less
This new version:
1. Works on 24-bit and 32-bit input, not just 32-bit.
2. Doesn't try to run on 16-bit or 8-bit, instead of outright crashing.
3. Does proper alpha-blending, so cursor shadows look correct.
4. Doesn't swap R and B.
Mostly fixes issue 1997.
Fixes issue 2056.
Originally committed as revision 25690 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 15:04:35 +0000 (15:04 +0000)]
Optimize / simplify avcodec_get_pix_fmt_name() check.
Originally committed as revision 25689 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 13:30:39 +0000 (13:30 +0000)]
Use av_pix_fmt_descriptors information in avcodec_pix_fmt_string().
Originally committed as revision 25688 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 13:30:36 +0000 (13:30 +0000)]
Make avpicture_fill() return a meaningful error code.
Originally committed as revision 25687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 7 Nov 2010 13:01:12 +0000 (13:01 +0000)]
Remove alpha information from avcodec_pix_fmt_string(), as that
information does not belong to the pixel format.
Originally committed as revision 25686 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Sun, 7 Nov 2010 03:05:12 +0000 (03:05 +0000)]
aaclatm: Eliminate dummy packets due to muxlength calculation.
Muxlength does not include the 3 bytes of AudioSyncStream() before the
AudioMuxElement(). If these three bytes are not accounted for the last three
bytes of the LATM packet are sent back to the decoder again.
Fixes issue244/mux2.share.ts
Originally committed as revision 25685 to svn://svn.ffmpeg.org/ffmpeg/trunk
Yuriy Kaminskiy [Sat, 6 Nov 2010 23:26:49 +0000 (23:26 +0000)]
rtsp: Set the real_setup pointer properly, avoid out of bounds memory accesses
This fixes a regression since svn rev 24752, where the real_setup pointer
was set incorrectly. The arithmetic with the real_setup_cache pointer
is in units of enum AVDiscard, so the sizeof multiplication should be removed.
Patch by Yuriy Kaminskiy, yumkam at mail dot ru.
Originally committed as revision 25684 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 6 Nov 2010 16:48:41 +0000 (16:48 +0000)]
Fix indentation.
Originally committed as revision 25683 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 6 Nov 2010 16:46:03 +0000 (16:46 +0000)]
Improve PGS parsing: the "state" field is not relevant to us,
the object number is, it determines whether we should continue
parsing the presentation description and whether we should
clear the subtitles on the next display command.
Based on patch by Mark Goodman [mark goodman gmail com]
Originally committed as revision 25682 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Sat, 6 Nov 2010 13:31:17 +0000 (13:31 +0000)]
try to give TrueSpeech decoder tables more sensible names
Originally committed as revision 25681 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ben Littler [Fri, 5 Nov 2010 16:37:41 +0000 (16:37 +0000)]
add my (compn) fingerprint to svn write list in maintainers file
Originally committed as revision 25680 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 4 Nov 2010 23:07:04 +0000 (23:07 +0000)]
Implement get_preset_file() in cmdutils.h and use it to factorize code
from ffmpeg.c and ffserver.c.
Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 4 Nov 2010 22:45:46 +0000 (22:45 +0000)]
Fix FFv1 decoder buffer releasing.
Previously it was releasing the buffer which was returned to the user,
which was resulting in a crash in case of direct rendering.
Originally committed as revision 25678 to svn://svn.ffmpeg.org/ffmpeg/trunk