Commit Graph

24587 Commits

Author SHA1 Message Date
Stefano Sabatini 8456d947a5 Exclude from the lavfi_pix_fmts regression test the output pixel
formats which are not currently supported by NUT and which cannot be
played by ffplay.

Originally committed as revision 23458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 22:17:06 +00:00
Michael Niedermayer 28f5ea7810 Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.
Originally committed as revision 23457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 21:59:25 +00:00
Michael Niedermayer 3bc4e21b7b Document the frames returned by the decoder better.
Originally committed as revision 23456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 21:53:41 +00:00
Stefano Sabatini 4fff60841f Rename ffplay-doc.texi @chapter "Introduction" to "Description", for
consistency with the corresponding man section.

Originally committed as revision 23454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 21:23:07 +00:00
Stefano Sabatini 016ea6282f Rename ffprobe-doc.texi @chapter "Introduction" to "Description", for
consistency with the corresponding man section.

Originally committed as revision 23453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 21:23:05 +00:00
Stefano Sabatini 103578f28d Rename ffserver-doc.texi @chapter "Introduction" to "Description", for
consistency with the corresponding man section.

Originally committed as revision 23452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 21:23:01 +00:00
Michael Niedermayer 98aea87b1a Deprecate PIX_FMT_YUVJ*
Originally committed as revision 23451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 21:08:56 +00:00
Martin Storsjö f475f35fdd ffserver: Calculate cur_pts using first_pts as origin instead of ist->start_time
This fixes cases where ist->start_time wasn't initialized. This also makes
cur_pts calculated against the same origin for all streams.

Originally committed as revision 23450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:58:22 +00:00
James Zern ee0e91462c VP8 encoding via libvpx.
Patch by James Zern, Google, Inc.

Originally committed as revision 23449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:47:59 +00:00
kemuri f1dfaa7a82 win32: Use _fstati64() instead of plain old fstat() on Windows to support file
sizes greater than 4gb.

Patch by kemuri <kemuri9 at gmail dot com>

Originally committed as revision 23448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:41:04 +00:00
Martin Storsjö 3c80491daa httpauth: Fix the length passed to av_strlcat
Since the buffer always was large enough, this bug didn't have any
effect in practice.

Originally committed as revision 23447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:31:29 +00:00
Stefano Sabatini 76561924cf Move section EXAMPLES towards the end of the ffmpeg-doc.texi file.
This is consistent with the the rendered ordering of the ffmpeg man
page.

Originally committed as revision 23445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:11:36 +00:00
Stefano Sabatini b26247ed86 Make consistent the various SEE ALSO sections in the FFmpeg man pages.
Also replace "the HTML documentation of @file{ffmpeg}" with "the FFmpeg
HTML documentation", which is more generic.

Originally committed as revision 23444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 19:16:08 +00:00
Stefano Sabatini cadbccb658 Put @ignore-d man page specific trailer at the end of the file.
This makes the ordering of the sections in the file more consistent
with that of the final man output.

Originally committed as revision 23443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 19:07:13 +00:00
Stefano Sabatini 94f4982350 Fix misc typos.
Originally committed as revision 23442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 18:53:35 +00:00
Stefano Sabatini 83a36b2e0b Change type of {audio,video,subtitle}_codec_tag variables from int to
unsigned int, as the corresponding variable set in
AVCodecContext.codec_tag is unsigned int.

Originally committed as revision 23441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 18:40:31 +00:00
Luca Barbato 48790d8ba8 Remove stray and possibly wrong line, rtpdec.c sets that already
Originally committed as revision 23440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 16:51:29 +00:00
Alex Converse 7caee063a0 aacdec: Work around illegal files with all elem_id tags set to the same value.
Fixes issue 1882.

Originally committed as revision 23439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 02:17:49 +00:00
Måns Rullgård c0f8ee0fd7 ARM: struct offsets for Apple ABI
Originally committed as revision 23438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 22:41:32 +00:00
Måns Rullgård 30d87675f1 ARM: remove some unnecessary ifdefs, fix implicit declaration warnings
Originally committed as revision 23437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 22:07:54 +00:00
Måns Rullgård 68dacb4e3b ARM: check struct offsets only when they are used
The offsets differ depending on configuration, so only check them when
they will actually be used.  Presently, this is when NEON is enabled.

Originally committed as revision 23436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 22:05:25 +00:00
Stefano Sabatini 48a783f3d7 Remove weird empty line and perform vertical align.
Originally committed as revision 23435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 22:00:53 +00:00
Stefano Sabatini fa58643993 Make write_streamheader() log a message if there is no codec tag
defined.

Originally committed as revision 23434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:40 +00:00
Stefano Sabatini ffd5f09844 Make write_streamheader() return a meaningful error code if no codec
tag is defined, rather than return -1.

Originally committed as revision 23433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:37 +00:00
Stefano Sabatini fc0c41240e Make write_header() and write_headers() return an error code in case of
error.

Originally committed as revision 23432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:35 +00:00
Stefano Sabatini da9e6c4295 Make write_streamheader() and write_headers() accept an
AVFormatContext * in input rather than a NUTContext *, which allows to
log messages with av_log().

Originally committed as revision 23431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:30 +00:00
Jason Garrett-Glaser 652d9d24dc Properly initialize x264_picture_t in libx264.
Bump libx264 version requirement accordingly.

Originally committed as revision 23430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 20:05:27 +00:00
Stefano Sabatini d04c13f74b Remove useless variables in get_common_elements().
Originally committed as revision 23429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 18:56:19 +00:00
Måns Rullgård 42719e2051 Use .p2align in ASMALIGN() macro
The test for .align syntax was apparently unreliable with some compilers.
Using the .p2align directive instead avoids the need for this test.

Originally committed as revision 23428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 18:55:17 +00:00
Måns Rullgård a76eec3b78 ARM: fail build if hardcoded struct offsets are wrong
Originally committed as revision 23427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 18:49:53 +00:00
Frank Barchard 83b7076131 Avoid division by zero that caused noise, typically at the beginning or
end of a file.

Patch by Frank Barchard, fbarchard google

Originally committed as revision 23426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 16:09:19 +00:00
Måns Rullgård 5dc051f4c1 bink: correctly align local arrays
Originally committed as revision 23425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 15:22:21 +00:00
Stefano Sabatini 2a00992fbd Add APIchanges entry for av_get_codec_tag_string().
Originally committed as revision 23424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 10:59:09 +00:00
Stefano Sabatini b603ab8dc1 Make the error message issued in case of invalid codec tag more
informative.

Originally committed as revision 23423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 10:54:53 +00:00
Stefano Sabatini ab0b53786b Make avcodec_string() use av_get_codec_tag_string().
Originally committed as revision 23422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 10:54:50 +00:00
Stefano Sabatini 7e566bbe6c Implement av_get_codec_tag_string() and use it in ffprobe.
Originally committed as revision 23421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 10:54:45 +00:00
Martin Storsjö 3b963552bc ffserver: Allow floating point audio bit rates
This allows setting bit rates that aren't an exact multiple of 1000.

Originally committed as revision 23419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 07:09:44 +00:00
David Conrad 6a7d7b88af arm neon: Add missing mangle to external symbol
Originally committed as revision 23418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 20:59:06 +00:00
Reimar Döffinger edd43c9593 Do not check_lib for -lva if vaapi is disabled, having -lva in extralibs
if vaapi is disabled is at best pointless.

Originally committed as revision 23417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 20:26:10 +00:00
Reinhard Tartler 7f464a0a34 Add an entry to APIchanges for the addition of sws_convertPalette8ToPacked32 -24
Originally committed as revision 23415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 20:05:38 +00:00
Ronald S. Bultje 03a3fcee99 Change default number of channels (used if unspecified in the format desc)
from 2 to 1, which is the actual value used in the spec. Fixes issue1978.

Path by John Wimer <john at god dot vtic dot net>.

Originally committed as revision 23414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 20:00:26 +00:00
Michael Niedermayer b742a12ee2 Print an error when MAX_STREAMS is reached.
Originally committed as revision 23413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 19:49:21 +00:00
Reinhard Tartler 2b991422f8 deprecate palette8topacked32 in favor of public API functions sws_convertPalette8ToPacked32 and -24
additionallym deprecate palette8torgb16 and its bgr variant without
replacement. These functions are not meant to be used by applications.

Discussed at: http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/109340

Originally committed as revision 31301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-06-01 19:35:16 +00:00
Måns Rullgård 73404a44c1 ARM: NEON clear_block[s]
Originally committed as revision 23412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 17:21:16 +00:00
Sebastian Vater 522d3930ff Move get_buffer() calls from decode_init() to decode_frame(). Anything else is
unsupported and causes crashes when libavfilter is enabled.

Patch by Sebastian Vater <cdgs basty googlemail com>.

Originally committed as revision 23411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 16:36:36 +00:00
Stefano Sabatini 54b11f1743 Rename @chapter "Quick Start" to "Examples", for consistency with the
corresponding man page section.

Originally committed as revision 23410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 14:08:46 +00:00
Stefano Sabatini 9f41ed5a7e Fix texi2pod.pl rendering of the Tips section by putting each @item
command on its own line, and create a corresponding "TIPS" man page
section.

Note that such section is not displayed, as currently only sections
with pre-defined names are rendered.

Originally committed as revision 23409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 14:00:44 +00:00
Stefano Sabatini acbdbf815a Make texi2pod.pl accept @itemize commands with no following character
or texinfo command for specifying how to generate @item marks, and
make it use by default the mark symbol "*".

This is consistent with texinfo docs:
"If you don't specify a mark command, the default is `@bullet'."

Originally committed as revision 23408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 14:00:42 +00:00
Stefano Sabatini 12f8341ae8 Merge @chapter Introduction and @chapter Description into a single
section, and make the whole rendered in the man output.

Simplify layout, and make it more consistent with that of the other
man pages. Also I cannot see a good reason for keeping split the two
sections.

Originally committed as revision 23407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 13:09:49 +00:00
Stefano Sabatini 0093ac5b9f Move internal scale context fields initialization from
sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables().

Allow to factorize duplicated code.

Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-06-01 11:30:07 +00:00