- 23 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
-
- 18 Jun, 2014 1 commit
-
-
Anton Khirnov authored
-
- 20 Oct, 2013 1 commit
-
-
Michael Niedermayer authored
See: CID1108585 and CID1108603 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Oct, 2013 1 commit
-
-
Carl Eugen Hoyos authored
fixes ticket #1955 as suggested by Roman. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Apr, 2013 1 commit
-
-
Diego Biurrun authored
-
- 13 Mar, 2013 1 commit
-
-
Diego Biurrun authored
-
- 30 Jan, 2013 2 commits
-
-
Paul B Mahol authored
Also check number of streams and give error message why muxing failed. This prevents muxing unsupported codec with known and supported tag. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Such level of abstraction is pointless. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 11 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
This fixes G722 durations Suggested-by: durandal_1707 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 09 Jan, 2013 13 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Also do not unnecessarily skip 0 bytes.
-
Justin Ruggles authored
It is already set by av_get_packet() even for partial reads.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Nothing in the AU specification sets a limit on channel count. We only need to avoid an overflow in the packet size calculation.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
- 04 Jan, 2013 1 commit
-
-
Justin Ruggles authored
-
- 28 Dec, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 23 Dec, 2012 1 commit
-
-
Diego Biurrun authored
-
- 19 Dec, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 17 Dec, 2012 1 commit
-
-
Diego Biurrun authored
This reduces code size when either piece has been disabled.
-
- 05 Dec, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 04 Dec, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 28 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 24 Nov, 2012 2 commits
-
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
Reviewed-by: Paul B Mahol
-
- 18 Aug, 2012 1 commit
-
-
Nicolas George authored
Without that, it would repeatedly produce empty packets if the codec if forced to something invalid. Fix trac ticket #1652.
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 30 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 01 May, 2012 2 commits
-
-
Reimar Döffinger authored
Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Reimar Döffinger authored
Manually remove that flag again for formats that read an arbitrary amount of data and thus truncation is not an error. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 23 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes a division by 0. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 Apr, 2012 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes a division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-