- 18 Nov, 2011 14 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Panagiotis H.M. Issaris authored
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>
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is in preparation for a later commit. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
This is in preparation for a later commit, where this function is reused. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Matthew Hoops authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
John Brooks authored
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>
-
John Brooks authored
The timestamp field in RTPDemuxContext was unused before this. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 17 Nov, 2011 3 commits
-
-
Alex Converse authored
Found with Address Sanitizer
-
Thierry Foucu authored
Found with Address Sanitizer Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Martin Storsjö authored
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>
-
- 16 Nov, 2011 7 commits
-
-
Martin Storsjö authored
This fixes builds with DEBUG defined, broken since 1158745a. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This makes the function accept the format of creation_time as output by demuxers (e.g. the mov demuxer), making the creation timestamp stay intact if transcoding. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This function is used in muxers for parsing the 'creation_time' metadata key, for converting it to a time value. This makes it match the behaviour of the exported 'creation_time' metadata from demuxers, where it is in UTC, too. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is useful, since the normal timegm function isn't a standard function (requiring _BSD_SOURCE or _SVID_SOURCE on glibc to be visible, and not available on e.g. windows). The widely available function mktime uses the local time zone, which requires ugly workarounds to handle UTC time. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mike Melanson authored
http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov This fix works around another work around which handles a different type of odd Cinepak data. Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Kostya Shishkov authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Nathan Caldwell authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 15 Nov, 2011 3 commits
-
-
Mans Rullgard authored
Converting to double before the multiplication rather than after avoids an integer overflow in some cases. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Justin Ruggles authored
-
Justin Ruggles authored
-
- 14 Nov, 2011 5 commits
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Luca Barbato authored
The frame duration was calculated without taking in account the bytes per sample. Thanks to Lorenzo Pistone <blaffablaffa@gmail.com> for pointing the issue and providing an initial fix.
-
Luca Barbato authored
And fix the error introduced when adding private option to avio. See 32caa7b1
-
Sebastien Zwickert authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Janne Grunau authored
The navigation header for the web pages lives in a different repository. Read it during documentation regeneration to use the same navigation bar on all pages.
-
- 13 Nov, 2011 8 commits
-
-
Anton Khirnov authored
-
Martin Storsjö authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Martin Storsjö authored
The interrupt callback has to be passed in during opening (setting it after opening isn't enough), since a blocking open couldn't be interrupted otherwise. Options are passed down to procotols and also need to be available during open() in most cases. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Not used anywhere yet, support for passing options from avio_open() will follow.
-
Anton Khirnov authored
-
Martin Storsjö authored
There are a few more cases of chained demuxers, but they only use custom IO which don't do any blocking IO and thus don't need the callback.
-
Martin Storsjö authored
Change all uses of these function to pass the relevant callback on.
-
Martin Storsjö authored
-