- 15 Oct, 2015 13 commits
-
-
wm4 authored
The AVCodecContext.get_format callback is not only used for pixel format negotiation with the API user, but also for hwaccel init. For the latter, it's required that some codec parameters, in particular the codec profile, are set when the callback is invoked. This patch removes a get_format invocation where this is not guaranteed. The codec parameters, including the profile, are really set further below. (The same code path that sets the profile also calls get_format properly too.) This just happened to work by coincidence in most cases. For example, if the API user just copied or reused the AVStream's AVCodecContext when decoding, the profile would be set properly. But in some cases it fails., such as with the sample WolfensteinTwitch.mp4 on the samples server. Remove the redundant get_format call. Apparently it serves no purpose anymore, although it is possible that this was different at the time it was added in commit ffd77f94. This fixes hwaccel usage for API users which do not set the profile when setting up the AVCodecContext (which is allowed).
-
Derek Buitenhuis authored
This makes AAC init threadsafe. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
wang-bin authored
_beginthreadex is for desktop only. CreateThread is available for windows store apps on windows (and phone) 8.1 and later. http://msdn.microsoft.com/en-us/library/ms682453%28VS.85%29.aspxSigned-off-by: Matt Oliver <protogonoi@gmail.com>
-
Anssi Hannula authored
Without EXT-X-MAP support we miss the first bytes of some streams. These streams worked by luck before byte-ranged segment support was added in da7759b3 Fixes ticket #4797.
-
Anssi Hannula authored
Commit ad701326 ("avformat/hls: open playlists immediately when AVDISCARD_ALL is dropped") inadvertently caused first_packet to never be cleared, causing select_cur_seq_no() to not use the specific code for live streams. In practice this means that when the user selects a different audio track during live stream (i.e. non-VOD) playback, there may be some additional delay as the code might select an incorrect segment at first, and we have to wait for video to catch audio (if too late segment was selected) or to download more following audio segments (if too early segment was selected). Fix that by restoring the zeroing of first_packet.
-
Hendrik Leppkes authored
-
Ronald S. Bultje authored
This allows hwaccels to access the bitstream header information.
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
ffmpeg/videotoolbox: try to fix compilation when cross compiling ffmpeg with VT for iOS under certain configuration Likely a regression from 8f6f357f
-
Ganesh Ajjanagadde authored
Commit dbb03b8e renamed loop to stream_loop. This documents the change. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
Kyle Swanson authored
Signed-off-by: Kyle Swanson <k@ylo.ph> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Christophe Gisquet authored
This allows more efficient access to the array as the level and flags are contiguous. Around 4% faster coefficient decoding. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Oct, 2015 27 commits
-
-
Carl Eugen Hoyos authored
The demuxer used to demux loas files for which a dedicated demuxer exists.
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Hendrik Leppkes authored
* commit 'd15368ee': h264: Run VLC init under pthread_once Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit 'c53e796f': thread: Provide no-op variants for pthread_once Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '08377f9c': dxva: Include last the internal header Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit 'c1348506': httpauth: Add space after commas in HTTP/RTSP auth header Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit 'e55376a1': rtmpproto: Write correct flv packet sizes at the end of packets Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Michael Niedermayer authored
The "loop" option is used in several demuxers (like img2dec) and muxers, using the same name in ffmpeg_opt breaks them. Feel free to revert this and replace by any other solution or rename both as preferred This is just as a quick fix to avoid the regression with existing command lines and to have both named the same (which does not work) Example: ./ffmpeg -loop 1 -i fate-suite/png1/lena-rgb24.png -t 1 test.avi will produce 25 frames with the img2dec loop but only 1 frame at 25fps with the ffmpeg loop option Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Zhang Rui authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Zhang Rui authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Ganesh Ajjanagadde authored
It has already been demonstrated that the de Bruijn method has benefits over the current implementation: commit 971d12b7. That commit implemented it for long long, this extends it to the int version. Tested with FATE. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Hendrik Leppkes authored
-
Carl Eugen Hoyos authored
Move the demuxer into its own file.
-
Clément Bœsch authored
Fixes Ticket #4927
-
Ganesh Ajjanagadde authored
This uses the av_warn_unused_result attribute liberally to catch some forms of improper usage of functions defined in avfilter/formats.h. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
Ganesh Ajjanagadde authored
Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM). This propagates the return values. All of these were found by using av_warn_unused_result, demonstrating its utility. Tested with FATE. I am least sure of the changes to avfilter/filtergraph, since I don't know what/how reduce_format is intended to behave and how it should react to errors. Fixes: CID 1325680, 1325679, 1325678. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Previous version Reviewed-by: Nicolas George <george@nsup.org> Previous version Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
Hendrik Leppkes authored
* commit '6a23a342': mimic: drop AVPicture usage Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '6fdd4c67': libschroedinger: Properly use AVFrame API Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '901f9c0a': qtrle: Properly use AVFrame API Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '17e41cf3': avcodec: Do not lock during init if there is no init function Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
-
Hendrik Leppkes authored
-
Hendrik Leppkes authored
* commit '34ed5c2e': avformat: Do not use AVFMT_RAWPICTURE Removal from ffmpeg.c not merged because some parts of avdevice still use it Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Derek Buitenhuis authored
This makes the h.264 decoder threadsafe to initialize. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
Luca Barbato authored
It redefines _WIN32_WINNT, possibly causing problems with the w32pthreads.h header.
-
Andrey Utkin authored
This fixes access to Grandstream cameras, which return 401 otherwise. VLC sends Authorization: header with spaces between parameters, and it is known to work with Grandstream devices and broad range of other HTTP and RTSP servers, so author considers switching to such behaviour safe. See RFC 2617 (HTTP Auth). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-