summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* avdevice/iec61883: free packet on buffer allocation errorMarton Balint2017-02-19
| | | | | | Fixes Coverity CID 1396416. Signed-off-by: Marton Balint <cus@passwd.hu>
* Merge commit '5d0f85f1b2469b60d0838330aabe5353fdd9ef1d'Clément Bœsch2017-01-31
|\ | | | | | | | | | | | | * commit '5d0f85f1b2469b60d0838330aabe5353fdd9ef1d': libdc1394: Fill in packet data directly Merged-by: Clément Bœsch <cboesch@gopro.com>
| * libdc1394: Fill in packet data directlyVittorio Giovara2016-07-20
| | | | | | | | Drop the packet embedded in the context.
* | Cosmetics: Reindent after last commit.Carl Eugen Hoyos2017-01-25
| |
* | lavd/v4l2: Avoid setting frame_size to a negative value.Carl Eugen Hoyos2017-01-25
| |
* | lavd/lavfi: use buffersink accessors.Nicolas George2017-01-12
| |
* | avdevice/decklink_enc: do not reference this after freeing itMarton Balint2016-12-27
| | | | | | | | | | | | Fixes Coverity CID 1396863. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: properly initialize no_video variableMarton Balint2016-12-27
| | | | | | | | | | | | Fixes Coverity CID 1396859. Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit '0b1bd1b2057d41fd0ccba7317911c484a50f9207'Hendrik Leppkes2016-11-18
|\| | | | | | | | | | | | | * commit '0b1bd1b2057d41fd0ccba7317911c484a50f9207': lavd: Drop unneeded av_init_packet()s Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavd: Drop unneeded av_init_packet()sVittorio Giovara2016-07-13
| | | | | | | | The input packet is already unref'd by the calling function.
| * avdevice: Ignore timefilter test programDiego Biurrun2016-06-14
| |
* | lavd/xcbgrab: do not try to create refcounted packets.Nicolas George2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The framework will allocate a buffer and copy the data to it, that takes time. But it avoids constently creating and destroyng the shared memory segment, and that saves more time. On my setup, from ~200 to ~300 FPS at full screen (1920×1200), from ~1400 to ~3300 at smaller size (640×480), similar to legacy x11grab and confirmed by others. Plus, shared memory segments are a scarce resource, allocating potentially many is a bad idea. Note: if the application were to drop all references to the buffer before the next call to av_read_frame(), then passing the shared memory segment as a refcounted buffer would be even more efficient, but it is hard to guarantee, and it does not happen with the ffmpeg command-line tool. Using a small number of preallocated buffers and resorting to a copy when the pool is exhausted would be a solution to get the better of both worlds.
* | Bump minor versions after 3.2 branchpoint to seperate releaseMichael Niedermayer2016-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for 3.2Michael Niedermayer2016-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavd/decklink_dec: fix indentationMarton Balint2016-10-21
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavd/decklink_dec: add option to disable drawing bars on signal lossMarton Balint2016-10-21
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavd/openal: don't return zero sized packet if no samples are availableMarton Balint2016-10-03
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavd/sdl2: add sdl aliasJosh de Kock2016-09-25
| | | | | | | | This commit also adds an sdl alias for the configure script.
* | lavd/sdl2: remove unused codeJosh de Kock2016-09-25
| |
* | lavd/sdl2: Fix 32bit rgb formats on little-endian hardware.Carl Eugen Hoyos2016-09-24
| |
* | lavd/sdl2: Move unsupported formats SDL_PIXELFORMAT_xxx888 updwards.Carl Eugen Hoyos2016-09-24
| | | | | | | | There is a paragraph for unsupported SDL formats.
* | lavd: drop SDL1 device and SDL1 supportJosh de Kock2016-09-24
| | | | | | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* | lavd/opengl: use SDL2Lukasz Marek2016-09-24
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Josh de Kock <josh@itanimul.li>
* | lavd: Add SDL2 output deviceJosh de Kock2016-09-24
| | | | | | | | | | Acked-by: Michael Niedermayer Signed-off-by: Josh de Kock <josh@itanimul.li>
* | avdevice/dshow: satisfy alloc contract betterRoger Pack2016-08-20
| | | | | | | | | | | | prevent non-rgb24 crashes on windows 10 anniversary ed Signed-off-by: Roger Pack <rogerpack2005@gmail.com>
* | decklink: enhancement: format selection with AVRational v2Matthias Hunstock2016-08-05
| | | | | | | | | | | | | | | | When finding a video mode based on frame size and frame rate, use AVRational methods instead of simple comparison. Add debug information. Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | decklink: fix: set fps on video stream v2Matthias Hunstock2016-08-05
| | | | | | | | | | | | | | Provide the stream with the correct fps information when capturing. Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | decklink: Remove unneeded spaces in initializersPatrick Felt2016-08-02
| |
* | doxygen: Standardize root-level modulesTimothy Gu2016-08-02
| |
* | cosmetics: Correct comments in decklink_decPatrick Felt2016-08-02
| | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* | avdev/jack: remove duplicated dispatch macrosJosh de Kock2016-07-26
| | | | | | | | The macros were moved to compat/dispatch_semaphore/semaphore.h after a libav merge, and were never removed from jack.c
* | lavd/libdc1394: distinguish between enumeration errors and no cameras foundJosh de Kock2016-07-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | cosmetics: fix some misspelled wordsJames Almer2016-07-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice/decklink_common: Replace rare spelling of Succesfully by 500 times ↵Michael Niedermayer2016-06-28
| | | | | | | | | | | | more common one Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'Matthieu Bouron2016-06-27
|\| | | | | | | | | | | | | * commit '535a742c2695a9e0c586b50d7fa76e318232ff24': build: Change structure of the linker version script templates Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
| * build: Change structure of the linker version script templatesDiego Biurrun2016-05-29
| | | | | | | | | | | | Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
* | avdevice/decklink: fix mingw portabilityMarton Balint2016-06-27
| | | | | | | | | | | | Fixes ticket #5669. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: add support for setting input packet timestamp sourceMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: add support for audio and video input selectionMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: add support for setting duplex modeMarton Balint2016-06-26
| | | | | | | | | | | | | | This patch also makes BlackMagic drivers v10.6.1 a hard requirement. Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: always free decklink resources on errorMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: factorize device finder functionMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: remove unused itermode iteratorsMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: factorize cleanup function to common codeMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: fix bitrate calculationsMarton Balint2016-06-26
| | | | | | | | | | Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | dshow: avoid duplicate NULL check before freerogerdpack2016-06-23
| | | | | | | | | | Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | dshow: don't add two instances of same device to graphsrogerdpack2016-06-23
| | | | | | | | | | Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '11de006babf735aafa3462d43dd2c02bb6ac6e2f'Clément Bœsch2016-06-22
|\| | | | | | | | | | | | | * commit '11de006babf735aafa3462d43dd2c02bb6ac6e2f': Combine deprecation guards where appropriate Merged-by: Clément Bœsch <clement@stupeflix.com>
| * Combine deprecation guards where appropriateDiego Biurrun2016-05-13
| | | | | | | | Some code blocks use multiple bits of deprecated API.
* | Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch2016-06-22
|\| | | | | | | | | | | | | * commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>