- 30 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 27 Jul, 2012 1 commit
-
-
Martin Storsjö authored
Previously, we returned any error code except AVERROR_EOF to the caller - only if AVERROR_EOF or 0 was returned, we proceeded to the next segment. With some setups of web servers, using Connection: close in https and GnuTLS, we don't get a clean error code at the end of segments. In those cases, just proceed to the next segment. Tested-by:
Antti Seppälä <a.seppala@gmail.com> Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 Jun, 2012 1 commit
-
-
Mans Rullgard authored
This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 20 Feb, 2012 1 commit
-
-
Martin Storsjö authored
This avoids reading any old data in the AVIOContext buffer after the seek, and indicates to the mpegts demuxer that we've seeked, avoiding continuity check errors. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Feb, 2012 1 commit
-
-
Panagiotis H.M. Issaris authored
Enhance seeking by demuxing until the requested timestamp is reached within the segment selected by the seek code using the playlist info. Some mpegts streams don't have dts set for all packets though, this seeking method doesn't work well for that case. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 14 Feb, 2012 3 commits
-
-
Alex Converse authored
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
When this demuxer was created, there didn't seem to be any consensus of a common short name for this protocol. Now the consensus seems to be to call it hls. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 29 Dec, 2011 2 commits
-
-
Martin Storsjö authored
This is mandated in draft-pantos-http-live-streaming-07, section 6.3.4. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Andrey Utkin authored
According to draft-pantos-http-live-streaming-07, 6.3.4, the duration of the last media segment in the playlist should be used as initial minimum reload delay. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 14 Dec, 2011 2 commits
-
-
Martin Storsjö authored
This avoids a segfault if the probe function wasn't able to determine the format. The bug was found by Panagiotis H.M. Issaris. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 12 Dec, 2011 1 commit
-
-
Anton Khirnov authored
-
- 18 Nov, 2011 1 commit
-
-
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>
-
- 13 Nov, 2011 4 commits
-
-
Martin Storsjö authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Not used anywhere yet, support for passing options from avio_open() will follow.
-
Martin Storsjö authored
Change all uses of these function to pass the relevant callback on.
-
Martin Storsjö authored
-
- 19 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
-
- 12 Oct, 2011 1 commit
-
-
Anton Khirnov authored
-
- 04 Aug, 2011 1 commit
-
-
Luca Barbato authored
The v->ctx is always not NULL now, check for streams presence to mark the read_header state. Fixes bug #25, possibly introduced by 603b8bc2
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 03 Jul, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 16 Jun, 2011 1 commit
-
-
Anton Khirnov authored
Deprecate the last remaining member of AVFormatParameters.
-
- 08 Jun, 2011 1 commit
-
-
Anton Khirnov authored
-
- 12 May, 2011 1 commit
-
-
Diego Biurrun authored
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
-
- 24 Apr, 2011 1 commit
-
-
Martin Storsjö authored
If there are no variants, the total bitrate of the single stream isn't known, and exporting variant_bitrate = 0 does look weird, since there really aren't any variants. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 Apr, 2011 1 commit
-
-
Martin Storsjö authored
This should hopefully fix roundup issue 2586. This commit only implements it in the demuxer, not in the protocol handler. If desired, some of the code could be refactored to be shared by both implementations. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 21 Apr, 2011 1 commit
-
-
Martin Storsjö authored
This helps callers to intelligently switch between bitrate variants. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Apr, 2011 1 commit
-
-
Stefano Sabatini authored
Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API.
-
- 13 Apr, 2011 1 commit
-
-
Martin Storsjö authored
This code could be executed if the demuxer reads more than one segment before returning from av_open_input_stream. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 08 Apr, 2011 1 commit
-
-
Anton Khirnov authored
-
- 07 Apr, 2011 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 04 Apr, 2011 3 commits
-
-
Martin Storsjö authored
The previous commit didn't do this straight away, to keep the diff slightly simpler.
-
Martin Storsjö authored
This avoids issues where EOF at the end of the segment is given the variant demuxer. Now the demuxers only see one single data stream (as when using the applehttp protocol handler).
-
Martin Storsjö authored
This is a preparation for a restructuring of the demuxer, to minimize the later diff.
-
- 21 Mar, 2011 1 commit
-
-
Martin Storsjö authored
A similar variable for the total stream duration was changed to int64_t in b79c3df0, due to overflows in some odd streams. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-