- 06 Nov, 2014 1 commit
-
-
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 3 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>
-
Martin Storsjö authored
ISO/IEC 14496-12:2012/Cor 1:2013 is explicit about how this should be handled. All zeros doesn't mean that the full file has got a zero duration, only that the track samples described within the initial moov have got zero duration. An all ones duration means an indeterminate duration. Keep writing a duration consisting of all ones for the ISM mode - older windows media player versions won't play a file if this is zero. (Newer windows media player versions play either version fine.) Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 29 Oct, 2014 12 commits
-
-
Martin Storsjö authored
Similarly to the omit_tfhd_offset flag added in e7bf085b, this avoids writing absolute byte positions to the file, making them more easily streamable. This is a new feature from 14496-12:2012, so application support isn't necessarily too widespread yet (support for it in libav was added in 20f95f21 in July 2014). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The custom IO flag actually never is set for muxers, only for demuxers, so the check was pointless (unless a user intentionally would set the flag to signal using custom IO). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If one track doesn't have any samples within a moof, no traf/trun is written for it. When the omit_tfhd_offset flag is set, none of the tfhd atoms have any base_data_offset set, and the implicit offset (end of previous track fragment data, or start of the moof for the first trun) is used. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Vittorio Giovara authored
Fixes a double free in case of av_packet_new_side_data() failure.
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 703626
-
Luca Barbato authored
-
Luca Barbato authored
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 732203 / CID 732204
-
Michael Niedermayer authored
The code would have segfaulted before if oggstream were NULL. CC: libav-stable@libav.org Bug-Id: CID 732218
-
- 28 Oct, 2014 4 commits
-
-
Luca Barbato authored
xcb-utils are not needed anymore.
-
Anton Khirnov authored
-
Rémi Denis-Courmont authored
This is the same as the previous change, but for applications using the old API (such as VLC 2.2). Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Rémi Denis-Courmont authored
The H.264 Constrained Baseline Profile (CBP) is a subset of both the Main Profile and the Baseline Profile. In principles, a hardware decoder that supports either of those can decode CBP content. As it happens, Main is supported by all VDPAU drivers, and Baseline is not. So favor map CBP to MP for now. Hopefully in the future libvdpau will offer an explicit choice for CBP. This fixes bug 757. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 27 Oct, 2014 4 commits
-
-
Tomas Härdin authored
Makes coverity less confused and code more readable. Bug-Id: CID 732262
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 733777
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 732246
-
Vittorio Giovara authored
should be the raw amount of pixels (for example 3840x1080 for full HD side by side) and the DisplayWidth/Height in pixels should be the amount of pixels for one plane (1920x1080 for that full HD stream)." So, move the aspect ratio check in the mkv_write_stereo_mode() function and always write the embl when stereo format and/or aspect ration is set. Also add a few comments to that function. CC: libav-stable@libav.org Found-by: Asan Usipov <asan.usipov@gmail.com>
-
- 26 Oct, 2014 1 commit
-
-
Luca Barbato authored
Matches the x11grab screen capture by features.
-
- 25 Oct, 2014 5 commits
-
-
Martin Storsjö authored
While a standalone implementation is nice, we already depend on gmtime and gmtime_r in a number of places. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If it isn't available in the system, we've got a fallback to the normal localtime function, so normal code can assume it is available as long as time_internal.h is included. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
gmtime isn't thread safe in general. In msvcrt (which lacks gmtime_r), the buffer used by gmtime is thread specific though. One call to localtime is left in avconv_opt.c, where thread safety shouldn't matter (instead of making avconv depend on the libavutil internal header). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This allows writing most code as if they always are is available. These are ok to use from other libraries even though it's not a public header, since they only provide an inline declaration, and doesn't add an actual dependency on lavu internals. (This can be considered more a build system compatibility fallback than a libavutil feature.) Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If the buffer provided to strftime is too small, the buffer contents are indeterminate - it does not guarantee actually null terminating the buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
-