- 14 Dec, 2015 3 commits
-
-
Stefan Pöschel authored
So far an AC-3 elementary stream is refered to in the PMT according to System A (ATSC). However System B (DVB) has a different way to signal an AC-3 ES within the PMT. This different way can be enabled by a new flag. The flag is more generally named 'system_b' as there are further differences between ATSC and DVB (e.g. the signalling of E-AC-3) which should then also be covered by it in the future. Bug-Id: 73 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Kip Warner authored
That buffer is read only and marking it accordingly let the user passing a constant buffer to it without having a const-correctness warning. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Anton Khirnov authored
-
- 13 Dec, 2015 1 commit
-
-
Martin Storsjö authored
This matches what librtmp does. This fixes automatic url parsing of crunchyroll urls. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 12 Dec, 2015 13 commits
-
-
Anton Khirnov authored
The stream parameters are not known until we read a packet, so postpone creating it until then.
-
Anton Khirnov authored
-
Anton Khirnov authored
The current muxer behaviour is to create streams in read_header() based on the audio/video presence flags, but fill in the stream parameters later when we actually get some packets for them. This is rather shady, since other demuxers set the stream parameters immediately when the stream is created and do not touch the stream codec context after that. Change the flv demuxer to behave in the same way as other similar demuxers -- create the streams only when we get a packet for them.
-
Anton Khirnov authored
It's not used by anything outside of lavc anymore.
-
Anton Khirnov authored
The latter does not require a full AVCodecContext and still provides all the functionality needed here.
-
Anton Khirnov authored
Almost all the places from which this function is called already check the header manually and in the two that don't (the mp3 muxer) the check should not cause any problems.
-
Anton Khirnov authored
-
Anton Khirnov authored
The profiles are a property of the codec, so it makes sense to export them through AVCodecDescriptors, not just the codec implementations.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It will not be set unless the muxing codec context is also the encoding context, which is discouraged. When the frame size is not known from av_get_audio_frame_duration(), the fallback should still be good enough.
-
Anton Khirnov authored
It will not be set if the stream codec context is not the encoding context. Use av_get_audio_frame_duration() instead, it should work for all audio codecs supported by the muxer.
-
Anton Khirnov authored
Fixes 2507b5dd
-
- 11 Dec, 2015 1 commit
-
-
Dave Yeo authored
fixes assembling on OS/2 Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 08 Dec, 2015 2 commits
-
-
Luca Barbato authored
Make easier to avoid compile failure when reworking the internal headers.
-
Luca Barbato authored
Avoid the warning `-Wempty-body`.
-
- 07 Dec, 2015 9 commits
-
-
Aaron Colwell authored
matroskaenc applies divisors to the display width/height when generating stereo content. This patch adds the corresponding multipliers to matroskadec so that the original sample aspect ratio can be recovered. Signed-off-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Fix fate tests with asan. Introduced during bytestream2 porting (in revision 62cc8f4d). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
These variables are coming from mpegvideoenc where are supposedly used as bit counters on various frame properties. However their use is unclear as they lack documentation, are available only from a very small subset of encoders, and they are hardly used in the wild. Also frame_bits in aacenc is employed in a similar way. Remove this functionality from AVCodecContex, these variable are mostly frame properties, and too few encoders support setting them with anything useful. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Most option values are simply unused or ignored and in practice the majory of codecs only need to check whether to enable rle or not. Add appropriate codec private options which better expose the allowed features. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Anton Khirnov authored
We do not need to do a full setup like for a real frame, just allocate a buffer and set cur_pic(_ptr).
-
Anton Khirnov authored
-
Anton Khirnov authored
EOVERFLOW seems to be unavailable on certain platforms.
-
Ganesh Ajjanagadde authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ganesh Ajjanagadde authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Dec, 2015 11 commits
-
-
Anton Khirnov authored
Checking the codec context parameters to find out this information is far too unreliable to be useful, so it is safer to assume B-frames are always present.
-
Anton Khirnov authored
Also, stop using AVCodecContext for storing the stream parameters.
-
Anton Khirnov authored
Do not access the encoder options, since it makes no sense when the AVStream codec context is not the encoding context.
-
Anton Khirnov authored
Do not access the encoder options, since it makes no sense when the AVStream codec context is not the encoding context.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Deprecate AVCodecContext.vbv_delay
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-