summaryrefslogtreecommitdiffstats
path: root/libavdevice
Commit message (Collapse)AuthorAgeFilesLines
* avdevice: Fix max value of AV_OPT_TYPE_VIDEO_RATEMichael Niedermayer2016-06-094-4/+4
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/dshow: Fix frame rateMichael Niedermayer2016-06-071-0/+1
| | | | | | | | Fixes: Ticket5526 Tested-by: kgp700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/lavfi: Do not set avg_frame_rate to the timebaseMichael Niedermayer2016-06-041-2/+0
| | | | | | | Fixes regression Fixes Ticket5422 (The timebase is 1/25k but the fps are not 25k) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-112-77/+98
|\ | | | | | | | | | | | | | | * 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-072-71/+92
| | | | | | | | | | 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-111-28/+22
| | | | | | | | | | | | | | | | | | | | 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-091-2/+2
|\ \ | |/ | | | | | | | | | | * commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: miscellaneous cosmeticsDiego Biurrun2016-04-071-2/+2
| | | | | | | | | | | | 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-051-13/+13
| | | | | | | | | | | | Fixes "Could not find codec parameters for stream" error (#5494) Signed-off-by: Rick Kern <kernrj@gmail.com>
* | Merge commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48'Derek Buitenhuis2016-04-211-1/+1
|\ \ | |/ | | | | | | | | | | * commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48': testprogs: Clean up #includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: Clean up #includesDiego Biurrun2016-03-241-1/+1
| |
* | Merge commit '30e9ef21cea09fa5e880e979c9f5b39edccbb6f4'Derek Buitenhuis2016-04-171-1/+1
|\ \ | |/ | | | | | | | | | | * 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-231-1/+1
| |
* | avdevice/caca: switch to codecparMichael Niedermayer2016-04-111-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-1027-227/+226
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2317-102/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-264-1/+689
| | | | | | | | | | | | | | 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-281-2/+2
| | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* | configure&avdevice/jack: Fixed issue #43 JACK indev support on OSXJosh de Kock2016-02-221-0/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavd/gdigrab: mouse dpi awarenessMetaksakis Georgios2016-02-151-0/+6
| | | | | | | | | | | | | | correct mouse location on hidpi screens. fixes ticket #5008 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | libavdevice/dshow.c: Correct CoGetMalloc checkFearThe13372016-02-131-1/+1
| | | | | | | | | | | | | | | | 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-051-5/+5
| | | | | | | | | | | | | | 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-021-6/+9
| |
* | sdl: Remove AVPicture usageTimothy Gu2016-02-021-4/+6
| |
* | decklink: support all valid numbers of audio channelsMatthias Hunstock2016-02-033-2/+16
| | | | | | | | | | | | | | | | | | | | 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-021-1/+6
| | | | | | | | | | 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-011-6/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | all: Make header guard names consistentTimothy Gu2016-01-312-6/+6
| |
* | libavdevice/decklink_common.h: fix broken build due to missing `/`Michael Ira Krufky2016-01-291-1/+1
| | | | | | | | Signed-off-by: Michael Ira Krufky <mkrufky@linuxtv.org>
* | all: Add missing header guardsTimothy Gu2016-01-284-0/+18
| |
* | lavd/decklink_dec: add support for teletextMarton Balint2016-01-295-1/+106
| | | | | | | | | | | | | | 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-271-6/+6
| | | | | | | | | | | | | | | | | | | | 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-247-13/+13
| | | | | | | | | | | | This reverts commit 61fb70c3866b19dccf473ad4e5ede79d117e8e1c. Reported in #5183 to break the build. Further investigation needed.
* | decklink: Header cleanupTimothy Gu2016-01-247-13/+13
| | | | | | | | | | This commit cleans up the decklink files' header usage so that they pass checkheaders.
* | avdevice: Mark decklink_common.h as unconditional SKIPHEADERTimothy Gu2016-01-241-1/+2
| | | | | | | | It is a C++ file, incompatible with the checkheaders infrastructure.
* | remove all uses of the deprecated avpicture_get_size() functionEddie Hao2016-01-172-2/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Correct two build/built typosTimothy Gu2016-01-111-1/+1
| | | | | | | | | | 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-211-1/+2
| | | | | | | | | | | | | | 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-061-0/+2
| | | | | | | | | | | | | | 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-311-11/+17
| | | | | | | | | | | | Alexander Brotzge Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | avdevice/caca: change AV_OPT_TYPE_STRING to set .str defaultMichael Niedermayer2015-10-311-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-273-3/+3
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-276-7/+7
|\ \ | |/ | | | | | | | | | | * 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-267-8/+8
| | | | | | | | | | | | | | `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-241-3/+3
| | | | | | | | | | | | | | | | | | 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-221-0/+2
| | | | | | | | | | | | | | 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-222-3/+5
|\ \ | |/ | | | | | | | | | | * 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-212-3/+5
| | | | | | | | | | | | 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-161-0/+1
| | | | | | | | | | | | | | 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-161-0/+4
| | | | | | | | | | | | | | This does not trigger any warnings, but adds robustness. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
OpenPOWER on IntegriCloud