summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-11
|\ | | | | | | | | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | | | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* | avdevice/decklink_dec: Convert decklink input module to use codecparFelt, Patrick2016-05-11
| | | | | | | | | | | | | | | | | | | | There are still a couple of deprecated calls that I’m not sure what to do with. They are both related to some logic around AVCodecContext.coded_frame. I couldn’t find anywhere that really documented what that was, or where it was intended to move to. I left the warnings on. Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'Derek Buitenhuis2016-05-09
|\| | | | | | | | | | | | | * commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | | | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* | lavd/avfoundation: use AVCodecParametersRick Kern2016-05-05
| | | | | | | | | | | | Fixes "Could not find codec parameters for stream" error (#5494) Signed-off-by: Rick Kern <kernrj@gmail.com>
* | Merge commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48': testprogs: Clean up #includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: Clean up #includesDiego Biurrun2016-03-24
| |
* | Merge commit '30e9ef21cea09fa5e880e979c9f5b39edccbb6f4'Derek Buitenhuis2016-04-17
|\| | | | | | | | | | | | | * commit '30e9ef21cea09fa5e880e979c9f5b39edccbb6f4': timefilter-test: Only compile timefilter-test if JACK is enabled Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * timefilter-test: Only compile timefilter-test if JACK is enabledDiego Biurrun2016-03-23
| |
* | avdevice/caca: switch to codecparMichael Niedermayer2016-04-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov2016-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * avfoundation: Simple captureAlexandre Lision2015-11-26
| | | | | | | | | | | | | | Originally based on the capture written by Thilo Borgmann <thilo.borgmann@mail.de>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | lavd/dshow_crossbar: remove trailing whitespaceLou Logan2016-03-28
| | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* | configure&avdevice/jack: Fixed issue #43 JACK indev support on OSXJosh de Kock2016-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavd/gdigrab: mouse dpi awarenessMetaksakis Georgios2016-02-15
| | | | | | | | | | | | | | correct mouse location on hidpi screens. fixes ticket #5008 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | libavdevice/dshow.c: Correct CoGetMalloc checkFearThe13372016-02-13
| | | | | | | | | | | | | | | | Current if statement would always be false due to assigning the value of S_OK which equals 0. Signed-off-by: FearThe1337 <git@fearthe1337.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x11grab: fixed next frame capture time calculationTrevor \\\\ Higgins2016-02-05
| | | | | | | | | | | | | | The next frame time could slip, causing the frame rate to drop until frames were dropped. Now will capture at the next correct moment instead. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | xv: Remove AVPicture usageTimothy Gu2016-02-02
| |
* | sdl: Remove AVPicture usageTimothy Gu2016-02-02
| |
* | decklink: support all valid numbers of audio channelsMatthias Hunstock2016-02-03
| | | | | | | | | | | | | | | | | | | | As it is already written in the documentation, BMD DeckLink cards are capable of capturing 2, 8 or 16 audio channels (for SDI Inputs). Currently the value is hardcoded to 2. Introduces new option. Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | Update demuxers and protocols for protocol whitelist supportMichael Niedermayer2016-02-02
| | | | | | | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avdevice/lavfi: replace deprecated avpicture_layoutPaul B Mahol2016-02-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | all: Make header guard names consistentTimothy Gu2016-01-31
| |
* | libavdevice/decklink_common.h: fix broken build due to missing `/`Michael Ira Krufky2016-01-29
| | | | | | | | Signed-off-by: Michael Ira Krufky <mkrufky@linuxtv.org>
* | all: Add missing header guardsTimothy Gu2016-01-28
| |
* | lavd/decklink_dec: add support for teletextMarton Balint2016-01-29
| | | | | | | | | | | | | | It uses the libzvbi slicer, therefore teletext capture requires libzvbi. Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | | | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Revert "decklink: Header cleanup"Timothy Gu2016-01-24
| | | | | | | | | | | | This reverts commit 61fb70c3866b19dccf473ad4e5ede79d117e8e1c. Reported in #5183 to break the build. Further investigation needed.
* | decklink: Header cleanupTimothy Gu2016-01-24
| | | | | | | | | | This commit cleans up the decklink files' header usage so that they pass checkheaders.
* | avdevice: Mark decklink_common.h as unconditional SKIPHEADERTimothy Gu2016-01-24
| | | | | | | | It is a C++ file, incompatible with the checkheaders infrastructure.
* | remove all uses of the deprecated avpicture_get_size() functionEddie Hao2016-01-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Correct two build/built typosTimothy Gu2016-01-11
| | | | | | | | | | Found-by: Leo Izen <leo.izen@gmail.com> as thebombzen on IRC Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* | lavd/pulse_audio_enc: replace lround by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | | | | | | | | Here it is mostly a cosmetic change, but there might be benefits in that there are no compat hacks for lround, while there are for lrint. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avdevice/dshow_enummediatypes: check return of av_mallocGanesh Ajjanagadde2015-11-06
| | | | | | | | | | | | | | Untested. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | gdigrab: grab right desktop size if DPI in use, based on patch from ↵Matt Oliver2015-10-31
| | | | | | | | | | | | Alexander Brotzge Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | avdevice/caca: change AV_OPT_TYPE_STRING to set .str defaultMichael Niedermayer2015-10-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-27
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* | all: fix -Wextra-semi reported on clangGanesh Ajjanagadde2015-10-24
| | | | | | | | | | | | | | | | | | This fixes extra semicolons that clang 3.7 on GNU/Linux warns about. These were trigggered when built under -Wpedantic, which essentially checks for strict ISO compliance in numerous ways. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avdevice/pulse_audio_common: add av_warn_unused_resultGanesh Ajjanagadde2015-10-22
| | | | | | | | | | | | | | This does not trigger any warnings, but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | Merge commit 'f890677d05bc4e8b494a73373ab4cc19791bf884'Hendrik Leppkes2015-10-22
|\| | | | | | | | | | | | | * commit 'f890677d05bc4e8b494a73373ab4cc19791bf884': Replace any remaining avpicture function with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * Replace any remaining avpicture function with imgutilsVittorio Giovara2015-10-21
| | | | | | | | | | | | avpicture_get_size() -> av_image_get_buffer_size() Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avdevice/internal: add av_warn_unused_resultGanesh Ajjanagadde2015-10-16
| | | | | | | | | | | | | | This does not trigger any warnings but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avdevice/alsa: add av_warn_unused_resultGanesh Ajjanagadde2015-10-16
| | | | | | | | | | | | | | This does not trigger any warnings, but adds robustness. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avdevice/libdc1394: add const to suppress "assignment discards const ↵Michael Niedermayer2015-09-20
| | | | | | | | | | | | | | | | | | qualifier from pointer target type" warnings See: http://fate.ffmpeg.org/log.cgi?time=20150919100330&log=compile&slot=x86_64-archlinux-gcc-enableshared Found-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avdevice/xcbgrab: fix -Wunused-variableGanesh Ajjanagadde2015-09-19
| | | | | | | | | | | | | | | | | | This patch fixes a -Wunused-variable reported in e.g http://fate.ffmpeg.org/log.cgi?time=20150918194649&log=compile&slot=x86_64-debian-asan-144800. av_unused is used as opposed to a header guard for readability. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.Michael Niedermayer2015-09-15
| |