Luca Barbato
c8b8271379
xcbgrab: Explicitly include xcb/shape.h
...
Found-By: Cheristheus
10 years ago
Vittorio Giovara
0f87f9b4fc
lavd: Add library identifier
10 years ago
Vittorio Giovara
bc1eace1b3
jack: Check memory allocation
...
CC: libav-stable@libav.org
Bug-Id: CID 1292520
10 years ago
Nicolas George
01fdfa51ac
xcbgrab: Accept geometries matching the screen size
...
Introduced in e8c4db0d4d
.
10 years ago
Luca Barbato
e8c4db0d4d
xcbgrab: Validate the capture area
...
And notify why the capture is impossible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
82a10225f8
xcbgrab: Do not assume the non shm image data is always available
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Federico Tomassetti
386e2755aa
jack: Check memory allocation
...
Bug-Id: CID 1265785
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
1a3eb042c7
Replace av_dlog with normal av_log at trace level
...
This applies to every library where performance is not critical.
10 years ago
Michael Kostylev
7a9b764c07
libdc1394: Unbreak build after c201069fa
10 years ago
Martin Storsjö
4f373a5111
vfwcap: Unbreak building after c201069fa
...
These headers can't be included in any arbitrary order.
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Diego Biurrun
8d26c193fb
avdevice: Apply a more consistent file naming scheme
10 years ago
Diego Biurrun
c201069fac
avdevice: Add missing header for NULL_IF_CONFIG_SMALL
...
Also reshuffle headers into canonical order where appropriate.
10 years ago
Vittorio Giovara
edca1dd552
xcbgrab: Check av_strdup() allocation
...
Bug-Id: CID 1274038
10 years ago
Luca Barbato
5f5b78aca3
xcbgrab: Free the host string after checking the connection
...
Prevent an use after free in the error message.
Bug-Id: CID 1274040
CC: libav-stable@libav.org
10 years ago
Luca Barbato
9a26ba9713
v4l2: Add support for h264
10 years ago
Luca Barbato
619d5e7db8
v4l2: Use the codec descriptor facility
...
The encoder or decoder might be disabled but the format would be
supported for at least remuxing.
10 years ago
Christian Hujer
802987f8c7
x11grab: Unbreak building
...
The correct macro is DEC not D. Broken in
b31328d008
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Luca Barbato
85b3b1c4ba
xcbgrab: Unbreak parsing filename options
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
b31328d008
xcbgrab: Provide better names for the y and x option
...
Incidentally `-y` also collides with avconv global options.
Update x11grab to match and document the option.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Himangi Saraogi
81ef46020f
bktr: Use av_strerror and propagate error codes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Daniel Moran
51ca3cb604
xcbgrab: Use the correct geometry for the region highlight
...
The feature is implemented using a transparent window and drawing
inside it a rectangle filling the whole window to highlight it.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
d40815a982
xcbgrab: Correctly make shm optional
...
The segment field in the struct has to be conditionally build
as well.
10 years ago
Clay McClure
6a808f5ae1
libdc1394: Add support for MONO8 (gray) video mode
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Vittorio Giovara
9e06327ecb
xcbgrab: Move NULL check before pointer dereference
...
Bug-Id: CID 1254668
10 years ago
Luca Barbato
2c3f29c489
xcbgrab: Support empty filename string correctly
...
Bug-Id: CID 1254664
CC: libav-stable@libav.org
10 years ago
Martin Storsjö
b776113e5d
v4l2: Unify one instance of reading/storing errno
...
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Luca Barbato
09f25533a5
v4l2: Preserve errno values
...
av_log usually resets it.
10 years ago
Tristan Matthews
a1a259881f
v4l2: Use av_strerror
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
2cd28693a5
jack: Use av_strerror
10 years ago
Luca Barbato
043ea6f7bf
fbdev: Use av_strerror
10 years ago
Anton Khirnov
4ad1eba011
lavd: fix building x11grab after a6674d2
10 years ago
Luca Barbato
a6674d2e77
xcbgrab: XCB-based screen capture
...
Matches the x11grab screen capture by features.
10 years ago
Timothy Gu
b7c77912b6
oss_audio: use a macro to simplify ioctl() error checking
...
Also add a note about SNDCTL_DSP_GETFMTS which may fail even if OSS is
available.
CC: libav-stable@libav.org
Bug-Id: CID 1238992
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Antonio Ospite
2a5ac99e6e
x11grab: Check the XQueryPointer return value
...
The paint_mouse_pointer() code uses XFixes to retrieve the cursor
coordinates, but XFixes gives no information about which screen the
pointer is on; this results in always drawing the cursor on the
captured screen even if the mouse pointer was on another screen.
For example, when capturing from screen 1 (i.e. -f x11grab -i ":0.1")
the cursor was being drawn in the captured image even when the mouse
pointer was actually on screen 0, which is wrong and visually confusing.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
5b9c817dc7
x11grab: Check XFixesGetCursorImage return value
...
It could return NULL if the cursor is outside the screen, the connection
timed out or the system is out of memory.
CC: libav-stable@libav.org
10 years ago
Luca Barbato
89fa2b5616
x11grab: Check for XFixes availability at runtime
10 years ago
Luca Barbato
65e78a2e4b
x11grab: Refactor pixel format parsing
10 years ago
Luca Barbato
bb3ead7e54
x11grab: Fallback to normal XImage if SHM is not supported
10 years ago
Luca Barbato
58396e806c
x11grab: Use a typedef for the context, as most other code does
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Luca Barbato
7bb505a33c
x11grab: Drop a spurious space in the extension reporting message
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Luca Barbato
20e82b41fc
x11grab: Small near-cosmetic refactorings
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Luca Barbato
f07a4290a0
x11grab: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Luca Barbato
404731bd20
pulse: Set the wallclock option as default
10 years ago
Diego Biurrun
ab56fabe62
vfwcap: Add fallback define for HWND_MESSAGE
...
Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.
10 years ago
Luca Barbato
424b929b5c
pulse: Add a wallclock option to be compatible with other other captures
...
alsa and x11grab use av_gettime() to report timestamps.
Bug-Id: 647
10 years ago
Diego Biurrun
8bc52dbd9d
vfwcap: Drop fallback VfW defines
...
The defines were added long ago when MinGW still lacked them.
10 years ago
Gabriel Dume
f929ab0569
cosmetics: Write NULL pointer equality checks more compactly
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Diego Biurrun
a6a27fede9
vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()
10 years ago
Anton Khirnov
1985c2e75c
Bump major versions of all libraries.
10 years ago
Nidhi Makhijani
d6e1d37100
oss_audio: Split muxer and demuxer
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago