summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* regtest: split video encode/decode tests into individual targetsMans Rullgard2011-11-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add explicit .arch and .fpu directives to asm.SMans Rullgard2011-11-22
| | | | | | | | | | | | | This prevents build errors when compiler and assembler default targets differ. Ideally each file would declare the highest level it requires. This is however not easily possible as it complicates assembling pre-armv6t2 code in Thumb-2 mode. HAVE_NEON is used as indicator for ARMv7-A since no other symbol exists for this and NEON is only available in this variant. Signed-off-by: Mans Rullgard <mans@mansr.com>
* pthread: do not touch has_b_framesJanne Grunau2011-11-22
| | | | | | | | | | | | | | | | | | Adding the thread count in frame level multithreading to has_b_frames as an additional delay causes more problems than it solves. For example inconsistent behaviour during timestamp calculation in libavformat. Thread count and frame level multithreading are both set by the user. If the additional delay caused by frame level multithreading needs to be considered in the calling code it has all information to take it into account. Should it become necessary to calculate a maximum delay inside libavcodec it should be exported as its own field and not reusing an existing field. Based on a patch by Michael Niedermayer. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avconv: cleanup the transcoding loop in output_packet().Anton Khirnov2011-11-21
|
* avconv: split subtitle transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: split video transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: split audio transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: reindent.Anton Khirnov2011-11-21
|
* avconv: move streamcopy-only code out of decoding loop.Anton Khirnov2011-11-21
|
* avconv: remove an always true condition and reindent.Anton Khirnov2011-11-21
|
* avconv: split off streamcopy handling into a separate loop.Anton Khirnov2011-11-21
| | | | | This is easier to understand and is less likely to break horribly when a stream is to be both decoded and copied.
* pthread: add some malloc failure checksJustin Ruggles2011-11-21
|
* avconv: cosmetics, reformat transcode_init()Anton Khirnov2011-11-21
| | | | | Fix spacing, vertically align, break some long lines, add some empty lines for readability.
* avconv: rename 'os' variable to 'oc'Anton Khirnov2011-11-21
| | | | Output AVFormatContext is called 'oc' in most other places.
* doc/filters: fix some typos.Anton Khirnov2011-11-21
|
* configure: add libpulse to help outputAnton Khirnov2011-11-21
| | | | Fixes Bug 72.
* httpproxy: Fix dependenciesJohn Stebbins2011-11-20
| | | | | | Fix building with --disable-network. Signed-off-by: Martin Storsjö <martin@martin.st>
* httpproxy: Specify the object files needed in the MakefileMartin Storsjö2011-11-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Fix stack alignment for SSEJohn Stebbins2011-11-19
| | | | | | | | Although gcc guarantees 16 byte stack alignment, threads under WinXP don't appear to be guaranteed to start stack aligned. So fix the alignment. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles2011-11-19
| | | | | | | | A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
* avcodec: use av_opt_set() instead of deprecated av_set_string3()Justin Ruggles2011-11-19
|
* avcodec: fix some const warningsJustin Ruggles2011-11-19
| | | | | | | libavcodec/options.c:583: warning: assignment discards qualifiers from pointer target type libavcodec/options.c:589: warning: initialization discards qualifiers from pointer target type
* avcodec: remove pointless AVOption, internal_buffer_countJustin Ruggles2011-11-19
|
* imgutils: Fix illegal read.Thierry Foucu2011-11-18
| | | | | | Found with address sanitizer. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* configure: add check for w32threads to enable it automaticallyJanne Grunau2011-11-18
|
* rtmp: do not hardcode invoke numbersJosh Allmann2011-11-18
| | | | | | | | Note: FCPublish/FCUnpublish are adobe server specific and not described in the rtmp specification. Some servers might not cope with them at all. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cinepack: return non-generic errorsLuca Barbato2011-11-18
|
* fate-lavf-ts: use -mpegts_transport_stream_id option.Anton Khirnov2011-11-18
| | | | Serves as a test of muxer private options.
* Add an APIchanges entry and a minor bump for avio changes.Anton Khirnov2011-11-18
|
* avio: Mark the old interrupt callback mechanism as deprecatedMartin Storsjö2011-11-18
| | | | Prepare for removing it at an upcoming major bump.
* avplay: Set the new interrupt callbackMartin Storsjö2011-11-18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: Set new interrupt callbacks for all AVFormatContexts, use ↵Martin Storsjö2011-11-18
| | | | | | avio_open2() everywhere Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cinepak: remove redundant coordinate checksMichael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: check strip_sizeMichael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak, simplify, use AV_RB24()Michael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: simplify, use FFMIN()Michael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0Michael Niedermayer2011-11-18
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Fix seeking in streams not starting at DTS=0Panagiotis H.M. Issaris2011-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | The Apple HTTP Live Streaming demuxer's implementation of seeking searches for the MPEG TS segment which contains the requested timestamp. In its current implementation it assumes that the first segment will start from 0. But, MPEG TS streams do not necessarily start with timestamp (near) 0, causing seeking to fail for those streams. This also occurs when using live streaming of HTTP Live Streams. In this case sliding playlists may be used, which means that in that case only the last x encoded segments are stored, the earlier segments get deleted from disk and removed from the playlist. Because of this, when starting playback of a stream in the middle of such a broadcast, the initial segment fetched after parsing the m3u8 playlist will not start from timestamp (near) 0, causing (the admittedly limited live) seeking to fail. This patch changes this demuxers seeking implementation to use the initial DTS as an offset for searching the segments containing the requested timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Don't use the normal http proxy mechanism for httpsMartin Storsjö2011-11-18
| | | | | | | | | | The tls protocol handles connections via proxies internally. With TLS/SSL, the peer verification requires that the client speaks directly with the server, since the proxy doesn't have the remote server's private key. Signed-off-by: Martin Storsjö <martin@martin.st>
* tls: Handle connection via a http proxyMartin Storsjö2011-11-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Reorder two code blocksMartin Storsjö2011-11-18
| | | | | | This is in preparation for a later commit. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add a new protocol for opening connections via http proxiesMartin Storsjö2011-11-18
| | | | | | | | | | This opens a plain TCP connection through the proxy via the CONNECT HTTP method. Normally, this is allowed for connections on port 443, but can in general be used to allow connections to any port (depending on proxy configuration), and could thus be used to tunnel any TCP connection via a HTTP proxy. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Split out the non-chunked buffer reading part from http_readMartin Storsjö2011-11-18
| | | | | | | This is in preparation for a later commit, where this function is reused. Signed-off-by: Martin Storsjö <martin@martin.st>
* segafilm: add support for raw videosMatthew Hoops2011-11-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: only use RTCP for PTS when synchronizing multiple streamsJohn Brooks2011-11-18
| | | | | | | | | RTCP timestamps are only necessary to synchronize time between multiple streams. For a single stream, the RTP packet timestamp provides more reliable timing. As a result, single-stream RTP sessions should now have accurate and monotonic PTS. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: unwrap RTP timestamps for PTS calculationJohn Brooks2011-11-18
| | | | | | The timestamp field in RTPDemuxContext was unused before this. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp5: Fix illegal read.Alex Converse2011-11-17
| | | | Found with Address Sanitizer
* vp6: Fix illegal read.Thierry Foucu2011-11-17
| | | | | | Found with Address Sanitizer Signed-off-by: Alex Converse <alex.converse@gmail.com>
* tls: Use TLSv1_client_method for OpenSSLMartin Storsjö2011-11-17
| | | | | | | | | | | | | TLSv1 is compatible with SSLv3, so this doesn't change much in terms of compatibility. By explicitly using TLSv1, OpenSSL sends the server name indication (SNI) header, which we already set using SSL_set_tlsext_host_name (earlier, this didn't have any effect). SNI allows servers to serve SSL content for different host names with separate certificates on one single port (vhosts). Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegaudiodec: Don't use a nonexistent log context for av_dlogMartin Storsjö2011-11-16
| | | | | | | This fixes builds with DEBUG defined, broken since 1158745a2d12966c58e83b66243a42f20190812e. Signed-off-by: Martin Storsjö <martin@martin.st>