- 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.
-
- 13 Jan, 2016 1 commit
-
-
Andreas Cadhalpun authored
Fixes runtime error: null pointer passed as argument 2, which is declared to never be null Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 25 Nov, 2015 2 commits
-
-
Luca Barbato authored
And make one more informative.
-
Luca Barbato authored
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 09 May, 2015 1 commit
-
-
Luca Barbato authored
Based on Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> work. CC: libav-stable@libav.org
-
- 08 May, 2015 1 commit
-
-
Andreas Cadhalpun authored
This fixes a segmentation fault when accessing the metadata. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
-
- 12 Mar, 2015 1 commit
-
-
Vittorio Giovara authored
Bug-Id: CID 205122 / CID 205123
-
- 17 Feb, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 10 Feb, 2015 1 commit
-
-
wm4 authored
This is not an API change; the fields were explicitly declared private before. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 06 Nov, 2014 1 commit
-
-
Anton Khirnov authored
It is not supposed to be set by demuxers.
-
- 21 Oct, 2014 1 commit
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 733713
-
- 20 Oct, 2014 1 commit
-
-
Luca Barbato authored
Chapters do not have an event_flags field. Bug-Id: CID 1231990
-
- 13 Aug, 2014 1 commit
-
-
Andrew Stone authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 08 Jul, 2014 1 commit
-
-
Luca Barbato authored
It was wrongly left unchanged when the version field had been introduced. (c94e2e85)
-
- 28 May, 2014 1 commit
-
-
Luca Barbato authored
Add the low overhead pipe mode and the extended broadcast mode. Export the options as 'syncponts' since it impacts only that. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 22 Oct, 2013 1 commit
-
-
Derek Buitenhuis authored
CC: libav-stable@libav.org Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 07 May, 2013 1 commit
-
-
Luca Barbato authored
Fix the mispresented EINVAL for EOF on partial files, among the other.
-
- 06 May, 2013 1 commit
-
-
Luca Barbato authored
Ease switching version in the future and make evident why that value.
-
- 15 Jan, 2013 1 commit
-
-
Diego Biurrun authored
The function is a callback that is called by ff_gen_search with a constant stream index. Avoid a false positive on older gcc version. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 28 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 29 Oct, 2012 1 commit
-
-
Luca Barbato authored
Plain text (utf8 encoded) data can be muxed and demuxed in nut.
-
- 13 Oct, 2012 2 commits
-
-
Luca Barbato authored
The native tags will be used when available.
-
Luca Barbato authored
Use native tags instead of avi ones, simplifies a lot raw video codecs handling.
-
- 02 Oct, 2012 1 commit
-
-
Luca Barbato authored
Make it consistent with the other function-like macros.
-
- 27 Sep, 2012 1 commit
-
-
Diego Biurrun authored
-
- 26 Sep, 2012 1 commit
-
-
Diego Biurrun authored
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 30 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 18 Apr, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 10 Apr, 2012 2 commits
-
-
Diego Biurrun authored
The files are only compiled if the #ifdef conditions are met.
-
Asen Lekov authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 06 Apr, 2012 1 commit
-
-
Martin Storsjö authored
Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 06 Nov, 2011 1 commit
-
-
Reimar Döffinger authored
All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 28 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf.
-
- 20 Oct, 2011 1 commit
-
-
Anton Khirnov authored
It's used in libavdevice.
-
- 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.
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-