]> git.sesse.net Git - ffmpeg/log
ffmpeg
14 years agoRename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().
Gwenole Beauchesne [Mon, 28 Dec 2009 09:02:16 +0000 (09:02 +0000)]
Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().

Originally committed as revision 20941 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse different dynamic payload types for audio and video.
Luca Abeni [Sun, 27 Dec 2009 21:31:10 +0000 (21:31 +0000)]
Use different dynamic payload types for audio and video.

Originally committed as revision 20940 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago2nd try on documenting av_gcd().
Michael Niedermayer [Sun, 27 Dec 2009 14:40:49 +0000 (14:40 +0000)]
2nd try on documenting av_gcd().

Originally committed as revision 20939 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove commented-out debug console output.
Diego Biurrun [Sun, 27 Dec 2009 14:32:23 +0000 (14:32 +0000)]
Remove commented-out debug console output.

Originally committed as revision 20938 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics: Move a bunch of forward declarations below a CONFIG_ENCODERS #ifdef.
Diego Biurrun [Sun, 27 Dec 2009 14:28:43 +0000 (14:28 +0000)]
cosmetics: Move a bunch of forward declarations below a CONFIG_ENCODERS #ifdef.
This avoids a bunch of "‘foo’ declared ‘static’ but never defined" warnings
when compiling with encoders disabled.

Originally committed as revision 20937 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago16-bit Interplay video does not need palette control
Kostya Shishkov [Sun, 27 Dec 2009 14:07:21 +0000 (14:07 +0000)]
16-bit Interplay video does not need palette control

Originally committed as revision 20936 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDocument av_gcd().
Michael Niedermayer [Sun, 27 Dec 2009 12:20:06 +0000 (12:20 +0000)]
Document av_gcd().

Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd missing opcodes for 16-bit Interplay Video decoding and finally enable it
Kostya Shishkov [Sun, 27 Dec 2009 09:12:50 +0000 (09:12 +0000)]
Add missing opcodes for 16-bit Interplay Video decoding and finally enable it

Originally committed as revision 20934 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago16-bit Interplay Video stores motion vector data at the end of frame,
Kostya Shishkov [Sun, 27 Dec 2009 09:03:31 +0000 (09:03 +0000)]
16-bit Interplay Video stores motion vector data at the end of frame,
so initialize data pointers for 16-bit variant and read motion vectors
as supposed in corresponding opcodes.

Originally committed as revision 20933 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago10l trocadero: forgot one case where picture linesize should be used
Kostya Shishkov [Sun, 27 Dec 2009 08:56:06 +0000 (08:56 +0000)]
10l trocadero: forgot one case where picture linesize should be used

Originally committed as revision 20932 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics: reindent and break long lines after last commits
Kostya Shishkov [Sun, 27 Dec 2009 08:53:02 +0000 (08:53 +0000)]
cosmetics: reindent and break long lines after last commits

Originally committed as revision 20931 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd 16-bit image data handling (but not decoding yet) to Interplay Video
Kostya Shishkov [Sun, 27 Dec 2009 08:49:32 +0000 (08:49 +0000)]
Add 16-bit image data handling (but not decoding yet) to Interplay Video

Originally committed as revision 20930 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse frame linesize in Interplay Video block copying function
Kostya Shishkov [Sun, 27 Dec 2009 08:38:07 +0000 (08:38 +0000)]
Use frame linesize in Interplay Video block copying function

Originally committed as revision 20929 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake CHECK_STREAM_PTR macro in Interplay Video decoder usable with
Kostya Shishkov [Sun, 27 Dec 2009 08:31:39 +0000 (08:31 +0000)]
Make CHECK_STREAM_PTR macro in Interplay Video decoder usable with
non-default pointers, it will be useful for checking motion values
data in 16-bit variant of this codec.

Originally committed as revision 20928 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRecognize 16-bit Interplay Video variant
Kostya Shishkov [Sun, 27 Dec 2009 08:21:40 +0000 (08:21 +0000)]
Recognize 16-bit Interplay Video variant

Originally committed as revision 20927 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoChange main loop in Interplay Video decoder, so variables x and y really mean
Kostya Shishkov [Sun, 27 Dec 2009 08:15:19 +0000 (08:15 +0000)]
Change main loop in Interplay Video decoder, so variables x and y really mean
coordinates, not offsets.

Originally committed as revision 20926 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse common regression test functions in ffserver regression test script.
Diego Biurrun [Sat, 26 Dec 2009 11:33:23 +0000 (11:33 +0000)]
Use common regression test functions in ffserver regression test script.
This makes the ffserver regression test more portable.

Originally committed as revision 20925 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReplace ` ` syntax by $( ) in regression test shell scripts.
Diego Biurrun [Sat, 26 Dec 2009 11:24:04 +0000 (11:24 +0000)]
Replace ` ` syntax by $( ) in regression test shell scripts.
The latter syntax variant is more readable and easier to nest.

Originally committed as revision 20924 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix cdg reference and buffer_hints value:
Reimar Döffinger [Sat, 26 Dec 2009 11:07:47 +0000 (11:07 +0000)]
Fix cdg reference and buffer_hints value:
reference must be 3 because both "fields" are used as reference,
and buffer_hints must include readable since we might memcpy from the old frame.

Originally committed as revision 20923 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse RTP_PT_PRIVATE in sdp.c instead of hardcoding 96.
Luca Abeni [Sat, 26 Dec 2009 10:59:56 +0000 (10:59 +0000)]
Use RTP_PT_PRIVATE in sdp.c instead of hardcoding 96.

Originally committed as revision 20922 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDo not copy codec_tag in stream copy case if it is associated with a different codec_id
Michael Niedermayer [Fri, 25 Dec 2009 21:01:16 +0000 (21:01 +0000)]
Do not copy codec_tag in stream copy case if it is associated with a different codec_id
fixes issue1568

Originally committed as revision 20921 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse positive logic, improve readability, consistent with r20877.
Stefano Sabatini [Fri, 25 Dec 2009 18:32:16 +0000 (18:32 +0000)]
Use positive logic, improve readability, consistent with r20877.

Originally committed as revision 20920 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics: reindent
Kostya Shishkov [Fri, 25 Dec 2009 17:13:05 +0000 (17:13 +0000)]
cosmetics: reindent

Originally committed as revision 20919 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics: Reformat some function declarations.
Diego Biurrun [Thu, 24 Dec 2009 12:13:03 +0000 (12:13 +0000)]
cosmetics: Reformat some function declarations.

Originally committed as revision 20918 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove some unused variables, fixes the warnings:
Diego Biurrun [Thu, 24 Dec 2009 12:11:55 +0000 (12:11 +0000)]
Remove some unused variables, fixes the warnings:
libavformat/rtmppkt.c:350: warning: unused variable ‘i’
libavformat/rtmppkt.c:349: warning: unused variable ‘base’

Originally committed as revision 20917 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd support for mp3 over RTP in rtpdec.c
Luca Abeni [Wed, 23 Dec 2009 21:23:26 +0000 (21:23 +0000)]
Add support for mp3 over RTP in rtpdec.c

Originally committed as revision 20916 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAuravision Aura 2 decoder
Kostya Shishkov [Wed, 23 Dec 2009 16:01:15 +0000 (16:01 +0000)]
Auravision Aura 2 decoder

Originally committed as revision 20915 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd Auravision Aura decoding support
Kostya Shishkov [Wed, 23 Dec 2009 13:04:57 +0000 (13:04 +0000)]
Add Auravision Aura decoding support

Originally committed as revision 20914 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoThere is no need to print FFmpeg or codec name in error message
Kostya Shishkov [Wed, 23 Dec 2009 09:10:40 +0000 (09:10 +0000)]
There is no need to print FFmpeg or codec name in error message

Originally committed as revision 20913 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics: correct formatting a bit
Kostya Shishkov [Wed, 23 Dec 2009 09:04:57 +0000 (09:04 +0000)]
cosmetics: correct formatting a bit

Originally committed as revision 20912 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoARM: use ALT_BITSTREAM_READER on cores with fast unaligned access
Måns Rullgård [Tue, 22 Dec 2009 08:09:46 +0000 (08:09 +0000)]
ARM: use ALT_BITSTREAM_READER on cores with fast unaligned access

Originally committed as revision 20911 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSatisfy grammatical nits.
Stefano Sabatini [Mon, 21 Dec 2009 22:44:07 +0000 (22:44 +0000)]
Satisfy grammatical nits.

Originally committed as revision 20910 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoImplement a -pix_fmts option for listing all the supported pixel
Stefano Sabatini [Mon, 21 Dec 2009 21:53:03 +0000 (21:53 +0000)]
Implement a -pix_fmts option for listing all the supported pixel
formats.

Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRe-add missing "@end table" which was erroneously removed in the
Stefano Sabatini [Mon, 21 Dec 2009 21:50:23 +0000 (21:50 +0000)]
Re-add missing "@end table" which was erroneously removed in the
previous commit.

Originally committed as revision 20908 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFactorize common options documentation.
Stefano Sabatini [Mon, 21 Dec 2009 21:32:09 +0000 (21:32 +0000)]
Factorize common options documentation.

Originally committed as revision 20907 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd -?, -help, and --help as alternative options to get help.
Ramiro Polla [Mon, 21 Dec 2009 02:20:13 +0000 (02:20 +0000)]
Add -?, -help, and --help as alternative options to get help.

Originally committed as revision 20906 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoPrint usage instead of help when no files are specified.
Ramiro Polla [Mon, 21 Dec 2009 02:15:46 +0000 (02:15 +0000)]
Print usage instead of help when no files are specified.

Originally committed as revision 20905 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSplit show_usage() out of show_help().
Ramiro Polla [Mon, 21 Dec 2009 02:12:34 +0000 (02:12 +0000)]
Split show_usage() out of show_help().

Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd a general [options] to the basic usage string.
Ramiro Polla [Mon, 21 Dec 2009 02:10:14 +0000 (02:10 +0000)]
Add a general [options] to the basic usage string.

Originally committed as revision 20903 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFirst print the program description and then the basic usage line.
Ramiro Polla [Mon, 21 Dec 2009 02:09:17 +0000 (02:09 +0000)]
First print the program description and then the basic usage line.

Originally committed as revision 20902 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove parameters no longer used in h[yc]scale().
Ramiro Polla [Mon, 21 Dec 2009 01:59:34 +0000 (01:59 +0000)]
Remove parameters no longer used in h[yc]scale().

Originally committed as revision 30099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoMove fast bilinear scaler code to the existing h[yc]scale_fast() functions.
Ramiro Polla [Mon, 21 Dec 2009 01:54:59 +0000 (01:54 +0000)]
Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.

Originally committed as revision 30098 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoRename function pointers used to convert from the input pixel format to the
Ramiro Polla [Mon, 21 Dec 2009 01:41:29 +0000 (01:41 +0000)]
Rename function pointers used to convert from the input pixel format to the
intermediate YV12 to a more descriptive name.

Originally committed as revision 30097 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoCheck if chroma horizontal scaler is needed in sws_init_swScale().
Ramiro Polla [Mon, 21 Dec 2009 01:34:45 +0000 (01:34 +0000)]
Check if chroma horizontal scaler is needed in sws_init_swScale().

Originally committed as revision 30096 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoRemove unused fields from SwsContext.
Ramiro Polla [Mon, 21 Dec 2009 01:30:55 +0000 (01:30 +0000)]
Remove unused fields from SwsContext.

Originally committed as revision 30095 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoIndentation.
Ramiro Polla [Sun, 20 Dec 2009 17:42:35 +0000 (17:42 +0000)]
Indentation.

Originally committed as revision 30087 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoIndent.
Ramiro Polla [Sun, 20 Dec 2009 17:15:01 +0000 (17:15 +0000)]
Indent.

Originally committed as revision 30086 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoSet fast_bilinear functions in sws_init_swScale().
Ramiro Polla [Sun, 20 Dec 2009 17:09:46 +0000 (17:09 +0000)]
Set fast_bilinear functions in sws_init_swScale().

Originally committed as revision 30085 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoSet horizontal scaler's range conversion in context in sws_init_swScale().
Ramiro Polla [Sun, 20 Dec 2009 16:32:58 +0000 (16:32 +0000)]
Set horizontal scaler's range conversion in context in sws_init_swScale().

Originally committed as revision 30082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoAdd new fields for the VDPAU/MPEG-4 back-end.
Gwenole Beauchesne [Sun, 20 Dec 2009 16:31:21 +0000 (16:31 +0000)]
Add new fields for the VDPAU/MPEG-4 back-end.

Originally committed as revision 20901 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet horizontal scaler's src offsets in context in sws_init_swScale().
Ramiro Polla [Sun, 20 Dec 2009 16:21:25 +0000 (16:21 +0000)]
Set horizontal scaler's src offsets in context in sws_init_swScale().

Originally committed as revision 30081 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoAdd long_name for Xxan codec.
Diego Biurrun [Sat, 19 Dec 2009 18:41:03 +0000 (18:41 +0000)]
Add long_name for Xxan codec.

Originally committed as revision 20900 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoImprove handling allocated buffers in Xan decoder
Kostya Shishkov [Sat, 19 Dec 2009 17:04:30 +0000 (17:04 +0000)]
Improve handling allocated buffers in Xan decoder

Originally committed as revision 20899 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics: reindent a bit
Kostya Shishkov [Sat, 19 Dec 2009 16:39:21 +0000 (16:39 +0000)]
cosmetics: reindent a bit

Originally committed as revision 20898 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd tables used by both AMR-NB and SIPR
Vitor Sessak [Sat, 19 Dec 2009 14:05:31 +0000 (14:05 +0000)]
Add tables used by both AMR-NB and SIPR

Originally committed as revision 20897 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCosmetic: indent after last change.
Mike Melanson [Sat, 19 Dec 2009 07:34:11 +0000 (07:34 +0000)]
Cosmetic: indent after last change.

Originally committed as revision 20896 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoOptimize unpack_vectors() by not shuffling around redundant vectors.
Mike Melanson [Sat, 19 Dec 2009 07:33:10 +0000 (07:33 +0000)]
Optimize unpack_vectors() by not shuffling around redundant vectors.
Inspired by guidance from Dark Shikari. On a Core 2 Duo 2.0 GHz, this
change decodes the 10-minute Big Buck Bunny 1080p short about 2 seconds
faster.

Originally committed as revision 20895 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMore sane error message when extradata has not been set.
Michael Niedermayer [Fri, 18 Dec 2009 15:50:39 +0000 (15:50 +0000)]
More sane error message when extradata has not been set.

Originally committed as revision 20894 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSwap red and blue when decoding r210.
Carl Eugen Hoyos [Fri, 18 Dec 2009 10:42:26 +0000 (10:42 +0000)]
Swap red and blue when decoding r210.

Originally committed as revision 20893 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoIt appears that waveformatextensible is mandatory for more cases than
Michael Niedermayer [Fri, 18 Dec 2009 06:03:12 +0000 (06:03 +0000)]
It appears that waveformatextensible is mandatory for more cases than
just channels>2. The 16bit case is from MSDN, the 48khz is from less a reliable
www page (sorry i cant find the URL anymore).

Originally committed as revision 20892 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd decoder for R210 (uncompressed 10-bit RGB) codec.
Reimar Döffinger [Thu, 17 Dec 2009 18:56:56 +0000 (18:56 +0000)]
Add decoder for R210 (uncompressed 10-bit RGB) codec.

Originally committed as revision 20891 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCD+G demuxer and decoder
Michael Tison [Thu, 17 Dec 2009 17:25:31 +0000 (17:25 +0000)]
CD+G demuxer and decoder

Patch by Michael Tison (gmail address: blackspike@....)

Originally committed as revision 20890 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago10l : make sure probe buffer is large enough.
Jai Menon [Thu, 17 Dec 2009 13:05:37 +0000 (13:05 +0000)]
10l : make sure probe buffer is large enough.

Originally committed as revision 20889 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoOnly add 1 index entry per keyframe.
Michael Niedermayer [Wed, 16 Dec 2009 21:24:04 +0000 (21:24 +0000)]
Only add 1 index entry per keyframe.
Idea from a patch by samsung.

Originally committed as revision 20888 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet bits_per_raw_sample appropriately in dpx decoder.
Reimar Döffinger [Wed, 16 Dec 2009 20:46:48 +0000 (20:46 +0000)]
Set bits_per_raw_sample appropriately in dpx decoder.

Originally committed as revision 20887 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoParse ID3v[12] metadata from TTA files.
Jai Menon [Wed, 16 Dec 2009 19:18:48 +0000 (19:18 +0000)]
Parse ID3v[12] metadata from TTA files.
As a side-effect, this commit also fixes issue 1310.

Originally committed as revision 20886 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCosmetics: make celp_filters.* formatting more consistent with the rest of
Vitor Sessak [Wed, 16 Dec 2009 17:15:57 +0000 (17:15 +0000)]
Cosmetics: make celp_filters.* formatting more consistent with the rest of
FFmpeg

Originally committed as revision 20885 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoOptimize ff_celp_lp_synthesis_filterf(). 50% faster in my tests.
Vitor Sessak [Wed, 16 Dec 2009 17:09:33 +0000 (17:09 +0000)]
Optimize ff_celp_lp_synthesis_filterf(). 50% faster in my tests.

Originally committed as revision 20884 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoList myself as the maintainer of celp_filters.*
Vitor Sessak [Wed, 16 Dec 2009 17:08:23 +0000 (17:08 +0000)]
List myself as the maintainer of celp_filters.*

Originally committed as revision 20883 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUpdate ffm reference checksums as a result of r20869.
Jai Menon [Wed, 16 Dec 2009 14:55:01 +0000 (14:55 +0000)]
Update ffm reference checksums as a result of r20869.

Originally committed as revision 20882 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReply to RTMP ping with the same value as received by client.
Martin Storsjö [Wed, 16 Dec 2009 12:49:38 +0000 (12:49 +0000)]
Reply to RTMP ping with the same value as received by client.
Patch by Martin Storsjö ($name at $name dot \163\164)

Originally committed as revision 20881 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd -vlang option to set ISO 639 video stream language code.
Matthieu Crapet [Wed, 16 Dec 2009 12:08:01 +0000 (12:08 +0000)]
Add -vlang option to set ISO 639 video stream language code.
This is similar to existing -alang & -slang options.

Patch by Matthieu Crapet m${surname} ^ gmail com.

Originally committed as revision 20880 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUndo r20874: It broke AAC decoding.
Carl Eugen Hoyos [Wed, 16 Dec 2009 11:39:14 +0000 (11:39 +0000)]
Undo r20874: It broke AAC decoding.

Originally committed as revision 20879 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove unused variable, fixes the warning:
Diego Biurrun [Tue, 15 Dec 2009 23:41:22 +0000 (23:41 +0000)]
Remove unused variable, fixes the warning:
libavformat/apetag.c:38: warning: unused variable `l'

Originally committed as revision 20878 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse positive logic in opt_target() for selecting the PAL/others
Stefano Sabatini [Tue, 15 Dec 2009 23:25:16 +0000 (23:25 +0000)]
Use positive logic in opt_target() for selecting the PAL/others
options, make its semantics mildly easier to compile by human minds.

Originally committed as revision 20877 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSimplify freeing of audio_language and subtitle_language.
Matthieu Crapet [Tue, 15 Dec 2009 20:36:14 +0000 (20:36 +0000)]
Simplify freeing of audio_language and subtitle_language.
Patch by Matthieu, mcrapet gmail com

Originally committed as revision 20875 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse enum and constant to avoid three icc warnings.
Carl Eugen Hoyos [Tue, 15 Dec 2009 15:57:18 +0000 (15:57 +0000)]
Use enum and constant to avoid three icc warnings.

Originally committed as revision 20874 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix a typo in documentation.
Ramiro Polla [Tue, 15 Dec 2009 13:46:42 +0000 (13:46 +0000)]
Fix a typo in documentation.

Originally committed as revision 20873 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFactorize opt+1 out in parse_options(), simplify.
Stefano Sabatini [Mon, 14 Dec 2009 23:47:22 +0000 (23:47 +0000)]
Factorize opt+1 out in parse_options(), simplify.

Originally committed as revision 20872 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDefine _XOPEN_SOURCE as 600 before including a XSI extension header.
Carl Eugen Hoyos [Mon, 14 Dec 2009 23:23:09 +0000 (23:23 +0000)]
Define _XOPEN_SOURCE as 600 before including a XSI extension header.

Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse symbolic names for PAL/NTSC/FILM rather than numeric constants in opt_target().
Stefano Sabatini [Mon, 14 Dec 2009 23:18:49 +0000 (23:18 +0000)]
Use symbolic names for PAL/NTSC/FILM rather than numeric constants in opt_target().
Improve readability.

Originally committed as revision 20870 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix breakage introduced by setting the sample_fmt to SAMPLE_FMT_NONE (r20623). This...
Benjamin Larsson [Mon, 14 Dec 2009 21:08:21 +0000 (21:08 +0000)]
Fix breakage introduced by setting the sample_fmt to SAMPLE_FMT_NONE (r20623). This makes
streaming to ffserver work again.

Originally committed as revision 20869 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCorrect typo
Vitor Sessak [Mon, 14 Dec 2009 19:28:33 +0000 (19:28 +0000)]
Correct typo

Originally committed as revision 20868 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago10l: Don't spawn a subshell when disabling vdpau.
Alex Converse [Mon, 14 Dec 2009 18:18:51 +0000 (18:18 +0000)]
10l: Don't spawn a subshell when disabling vdpau.

Originally committed as revision 20867 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRevert flvdec.c part of r20836
Michael Niedermayer [Mon, 14 Dec 2009 15:59:19 +0000 (15:59 +0000)]
Revert  flvdec.c part of r20836
Log:
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
arrays of fixed length.
Code from ffmbc with changes to adapt to our metadata API.
Reason: memleak & fix is not trivial

Originally committed as revision 20866 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoInclude dup/drop info if any frames where duplicated or droped
Michael Niedermayer [Mon, 14 Dec 2009 12:40:10 +0000 (12:40 +0000)]
Include dup/drop info if any frames where duplicated or droped
instead of when verbose>1.
From ffmbc0.3

Originally committed as revision 20865 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoOff by 1 bugfix for nb_frames_dup.
Michael Niedermayer [Mon, 14 Dec 2009 12:37:24 +0000 (12:37 +0000)]
Off by 1 bugfix for nb_frames_dup.
From ffmbc0.3

Originally committed as revision 20864 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMerge init & declaration of buf_end.
Michael Niedermayer [Mon, 14 Dec 2009 11:57:33 +0000 (11:57 +0000)]
Merge init & declaration of buf_end.
From ffmbc0.3

Originally committed as revision 20863 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet reordered_opaque in default_reget_buffer() with internal buffers.
Michael Niedermayer [Mon, 14 Dec 2009 11:42:17 +0000 (11:42 +0000)]
Set reordered_opaque in default_reget_buffer() with internal buffers.
From ffmbc0.3, this one appears to be a bugfix.

Originally committed as revision 20862 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCheck sample_aspect_ratio validity for mpeg4/h263/h263p encoding.
Michael Niedermayer [Mon, 14 Dec 2009 11:34:46 +0000 (11:34 +0000)]
Check sample_aspect_ratio validity for mpeg4/h263/h263p encoding.
Merged from ffmbc0.3

Originally committed as revision 20861 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse PIX_FMT_NONE for -1 when enum PixelFormat is expected (fixes two icc warnings).
Carl Eugen Hoyos [Mon, 14 Dec 2009 11:18:28 +0000 (11:18 +0000)]
Use PIX_FMT_NONE for -1 when enum PixelFormat is expected (fixes two icc warnings).

Originally committed as revision 20860 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse enum PixelFormat as type for input_pixfmt to avoid one icc warning.
Carl Eugen Hoyos [Mon, 14 Dec 2009 10:52:32 +0000 (10:52 +0000)]
Use enum PixelFormat as type for input_pixfmt to avoid one icc warning.

Originally committed as revision 20859 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSupport compressed formats in the V4L2 input device.
Luca Abeni [Mon, 14 Dec 2009 10:34:31 +0000 (10:34 +0000)]
Support compressed formats in the V4L2 input device.
Patch by klchxbec AT freenet DOT de.

Originally committed as revision 20858 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd support for V4L2 compressed formats in the table used for converting
Luca Abeni [Mon, 14 Dec 2009 10:33:24 +0000 (10:33 +0000)]
Add support for V4L2 compressed formats in the table used for converting
between V4L2 formats and ffmpeg's formats/codecs.
Patch by klchxbec AT freenet DOT de.

Originally committed as revision 20857 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse the correct type for the V4L2 format.
Luca Abeni [Mon, 14 Dec 2009 10:31:29 +0000 (10:31 +0000)]
Use the correct type for the V4L2 format.

Originally committed as revision 20856 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReturn pkt->size in v4l2_read_packet().
Luca Abeni [Mon, 14 Dec 2009 10:30:37 +0000 (10:30 +0000)]
Return pkt->size in v4l2_read_packet().
mmap_read_frame() takes care of ensuring that the packet size
is correct.

Originally committed as revision 20855 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDisable vdpau support if the detected libvdpau does not support MPEG-4.
Alex Converse [Mon, 14 Dec 2009 06:33:43 +0000 (06:33 +0000)]
Disable vdpau support if the detected libvdpau does not support MPEG-4.

Originally committed as revision 20854 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFLV 8-bit PCM is unsigned, not signed
Daniel Verkamp [Mon, 14 Dec 2009 03:30:25 +0000 (03:30 +0000)]
FLV 8-bit PCM is unsigned, not signed

Fixes issue #1569

Originally committed as revision 20853 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFactorize ic->streams[i] out,
Michael Niedermayer [Mon, 14 Dec 2009 03:23:45 +0000 (03:23 +0000)]
Factorize ic->streams[i] out,
change from ffmbc

Originally committed as revision 20852 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoPlace { of the function where indent -kr wants it.
Michael Niedermayer [Mon, 14 Dec 2009 01:15:02 +0000 (01:15 +0000)]
Place { of the function where indent -kr wants it.
Also more consistent with the rest of the code.

Originally committed as revision 20851 to svn://svn.ffmpeg.org/ffmpeg/trunk