- 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 6 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>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 24 Oct, 2014 21 commits
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1197050
-
Tomas Härdin authored
None of these are likely unless the user is writing a file with two billion streams or a duration of around two months. CC: libav-stable@libav.org Bug-Id: CID 700568 / CID 700569 / CID 700570 / CID 700571 / CID 700572 / CID 700573
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 732232
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 703629
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 733712
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1026767
-
Luca Barbato authored
The new function wraps errno so that its value is correctly reported when other functions overwrite it (eg. in case of logging). CC: libav-stable@libav.org Bug-Id: CID 1135748 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
At "mimetype[len] = 0;" mimetype is a 64 element array and len might be equal to or greater than that. CC: libav-stable@libav.org Bug-Id: CID 1061055
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1087077
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 1087078
-
Vittorio Giovara authored
Remove now redundant check. CC: libav-stable@libav.org Bug-Id: CID 700371
-
Anton Khirnov authored
Most importantly, it contains the encoder delay and replaygain info.
-
Anton Khirnov authored
-
Anton Khirnov authored
Make it more structured.
-
Anton Khirnov authored
The quality scale field is only supposed to be present if the fourth bit is set. In practice, lame always sets it, but other tools might not. CC:libav-stable@libav.org
-
Martin Storsjö authored
The ones left using av_gettime are NTP timestamps (for RTCP, which is specified to send the actual current realtime clock in RTCP SR packets), and the NUT muxer timestamper, which is documented as using wallclock time. 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: Martin Storsjö <martin@martin.st>
-
Olivier Langlois authored
Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Olivier Langlois authored
Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Since av_gettime() is used in a number of places where actual real time clock is required, the monotonic clock introduced in ebef9f5a would have consequences that are hard to handle. Instead split it into a separate function that can be used in the cases where only relative time is desired. On platform where no monotonic clock is available, the difference between the two av_gettime functions is not clear, and one could mistakenly use the relative clock where an absolute one is required. Therefore add an offset, to make it evident that the time returned from av_gettime_relative never is actual current real time, even though it is based on av_gettime. Based on a patch by Olivier Langlois. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 21 Oct, 2014 8 commits
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 733713
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 703721
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 90558
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 733714
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 732242
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 718141
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 732248
-
Janne Grunau authored
-