- 09 Nov, 2014 2 commits
-
-
Tristan Matthews authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
- 08 Nov, 2014 3 commits
-
-
Martin Storsjö authored
This avoids a potential crash if writing a fragmented psp mp4 (which probably is only a hypothetical scenario). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
QuickTime does support files with an empty initial movie these days. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 07 Nov, 2014 6 commits
-
-
Martin Storsjö authored
Previously we wrote decoding timestamps here, while the specs say it should be presentation timestamps. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
When using the new first_trun flag instead of checking the track id, we don't need to have a special case for the separate_moof flag any longer. This simplifies the complicated codepath ever so slightly. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
In this case, shift tracks to start from zero instead (potentially stretching the first sample in tracks that start later than the first one). Some software does not support edit lists at all, the adobe flash player seems to be one of these. This results in AV sync errors when edit lists are used to adjust AV sync. Some players, such as QuickTime, don't respect the duration for audio packets, so if an audio track starts later than the video track and the first audio sample gets a duration longer than the actual amount of data in it, the result will be out of sync. Based on patches by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
This is the same logic as is invoked on AVFMT_TS_NEGATIVE, but which can be enabled manually, or can be enabled in muxers which only need it in certain conditions. Also allow using the same mechanism to force streams to start at 0. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Henrik Gramner authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Nov, 2014 17 commits
-
-
Vittorio Giovara authored
Add a comment to explain the code. CC: libav-stable@libav.org Bug-Id: CID 1194388
-
Luca Barbato authored
CC: libav-stable@libav.org Bug-Id: CID 1135767 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 717453 / CID 717454 / CID 717915
-
Vittorio Giovara authored
Makes coverity less confused and the code more readable. CC: libav-stable@libav.org Bug-Id: CID 751744
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 608053
-
Vittorio Giovara authored
Remove stray semicolon and share codepaths. CC: libav-stable@libav.org Bug-Id: CID 991857
-
Anton Khirnov authored
It is not supposed to be set by demuxers.
-
Anton Khirnov authored
-
Anton Khirnov authored
The reasoning is the same as for 0097cbea.
-
Anton Khirnov authored
-
Anton Khirnov authored
The only parameters needed by the demuxers are the sample rate and sample count, which can be trivially extracted manually, without resorting to an avpriv function.
-
Anton Khirnov authored
It will not be set unless the codec context is used as the encoding context, which is discouraged. For MP2, av_get_audio_frame_duration() will already set the frame size properly. For MP3, set the frame size explicitly.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It is required by (at least) the ogg demuxer. Mark the current semi-public apriv API for removal.
-
Anton Khirnov authored
This is done in preparation for making it public.
-
Anton Khirnov authored
Currently, the API takes an external AVCodecContext, which is used only for extradata and logging. This change will allow to it to work without an AVCodecContext in the following commits.
-
- 05 Nov, 2014 1 commit
-
-
Martin Storsjö authored
It is never an error if this method failed. If rt->live was explicitly set to 0 (known to be a recorded file), print it as a warning, otherwise print it as a debug message. Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 04 Nov, 2014 3 commits
-
-
Rémi Denis-Courmont authored
The application will destroy the underlying hardware handles when get_format() gets called again. Also this ensures the deinitialization takes place if the get_format callback returns an error. Regression from 1c80c9d7. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Vittorio Giovara authored
Bug-Id: CID 732291
-
Michael Niedermayer authored
CC: libav-stable@libav.org Bug-Id: CID 732250
-
- 03 Nov, 2014 6 commits
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1238802 / CID 1238793 / CID 1238785 CID 1238808 / CID 1238809
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 717906 / CID 717907 / CID 717916 / CID 717917 / CID 717919 / CID 732259
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 732293 / CID 732294
-
Vittorio Giovara authored
mb_type is initialized to 0 and never updated before the check. Bug-Id: CID 1238782
-
Vittorio Giovara authored
Bug-Id: CID 1238816
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 30 Oct, 2014 2 commits
-
-
Martin Storsjö authored
We deviate slightly from the iso specs for these files. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The tfdt atom shouldn't be needed in those cases, we already write tfxd atoms for ismv anyway, which is roughly equivalent. This avoids having to declare the iso6 brand for ismv files. Signed-off-by: Martin Storsjö <martin@martin.st>
-