Andreas Cadhalpun
9acf5341d6
openal-dec: replace av_destruct_packet with av_free_packet
...
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Andreas Cadhalpun
c363843a53
add missing FF_API_DESTRUCT_PACKET guards
...
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Ronald S. Bultje
229843aa35
Replace av_dlog with ff_dlog.
...
ff_dlog checks compilability, and is non-public. av_dlog is deprecated
and no longer exists if FF_API_DLOG=0.
9 years ago
Andreas Cadhalpun
9126ae4b6b
use avfilter_pad_get_{type,name} accessor functions
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Carl Eugen Hoyos
4c4f14c717
lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE when reading a h264 stream.
...
Reported, debugged and tested by trac user noah.
Fixes ticket #4644 .
9 years ago
rogerdpack
bed1d9ec7a
dshow: show more debug timestamp info
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
9 years ago
Chris Spencer
9c41126e1b
avdevice/decklink: Fix build error caused by a change in the SDK.
...
In version 10.4 of the DeckLink SDK, GetBufferedAudioSampleFrameCount() was changed to take an unsigned int instead of an unsigned long.
Signed-off-by: Chris Spencer <spencercw@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
059a934806
lavc: Consistently prefix input buffer defines
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
40cf1bbacc
Deprecate avctx.coded_frame
...
The rationale is that coded_frame was only used to communicate key_frame,
pict_type and quality to the caller, as well as a few other random fields,
in a non predictable, let alone consistent way.
There was agreement that there was no use case for coded_frame, as it is
a full-sized AVFrame container used for just 2-3 int-sized properties,
which shouldn't even belong into the AVCodecContext in the first place.
The appropriate AVPacket flag can be used instead of key_frame, while
quality is exported with the new AVPacketSideData quality factor.
There is no replacement for the other fields as they were unreliable,
mishandled or just not used at all.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Dan Flett
87f98a2b9d
fbdev: Support the RGB565 colour space.
...
Tested on a Raspberry Pi.
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
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
Andreas Cadhalpun
28efeb6502
doc: avoid incorrect phrase 'allows to'
...
Also fix typo found by Lou Logan:
Sacrifying -> Sacrificing
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
10 years ago
Carl Eugen Hoyos
3323c5f353
Remove a few occurences of "long long" from the libraries.
10 years ago
Michael Niedermayer
8ddc415515
avdevice/openal-dec: Make al_format_info const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
913685f552
avdevice/lavfi: do not rescale AV_NOPTS_VALUE in lavfi_read_packet()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Vittorio Giovara
bc1eace1b3
jack: Check memory allocation
...
CC: libav-stable@libav.org
Bug-Id: CID 1292520
10 years ago
Michael Niedermayer
7c453277a3
avdevice/iec61883: Check pthread init for failures
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
272f87fc5c
avdevice/x11grab: use av_clip() instead of nested min & max
...
Note: [xy]_off and screen_[wh] variables are int, as well as
X11GrabContext.{width,height,x_off,y_off}.
10 years ago
Michael Niedermayer
f8598cefe9
avdevice/v4l2: Fix vertical alignment in list_formats() output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
d1d8ee5e91
avdevice/v4l2: Try to fix build on netbsd/openbsd
...
Found-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Giorgio Vazzana
28f20d2ff4
lavd/v4l2: produce a 0 byte packet when a dequeued buffer is flagged with V4L2_BUF_FLAG_ERROR
...
Fixes ticket #4030 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Giorgio Vazzana
23e6cf832f
lavd/v4l2: fix typo
...
This was introduced in cde6e328de
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
bc6f84fff7
avdevice/dshow_capture: avoid #ifdef, use ff_dlog() for dshowdebug()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nicolas George
7971fa9ce0
lavd/xcbgrab: fix comparison with screen size.
...
Signed-off-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Giorgio Vazzana
00a452a9ad
lavd/v4l2: print buffer flags in case of error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Mate Sebok
4d98015dcf
dshow: add capture device save and load
...
Signed-off-by: Mate Sebok <smfinc.org@gmail.com>
Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
4d0f6d3fb4
avdevice/vfwcap: revert header reordering from c201069fac
...
This should fix build on vs2013
Found-by: Ferdinand Oeinck <ferdo@bigroses.demon.nl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
259fd4c7cf
avdevice/vfwcap: put the headers back in the order in which they need to be
...
This avoids build failures
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
63167a6ba3
avdevice/avfoundation: Fix occured typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
cf16b459a8
libavdevice/avfoundation: use pts/dts provided by the CMSampleBuffer API
...
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
021b023751
libavdevice/avfoundation: add capture_mouse_clicks option
...
Support mouse clicks capture while recording a screen on OSX >= 10.7.
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
c908cae74c
libavdevice/avfoundation: add capture_cursor option
...
Add support for cursor capturing while recording a screen for OSX >=
10.8.
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
573a77a1b6
libavdevice/avfoundation: add framerate and video size options
...
Support framerate ands video size options on AVCaptureDevices for
OSX >= 10.7 and iOS >= 7.0.
For screen captures, only the framerate option is taken into account.
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Vittorio Giovara
edca1dd552
xcbgrab: Check av_strdup() allocation
...
Bug-Id: CID 1274038
10 years ago
Carl Eugen Hoyos
88bf16895a
lavd/avfoundation: Silence warnings when compiling for iOS.
...
Reviewed-by: Thilo Borgmann
10 years ago
Carl Eugen Hoyos
87b3c6e28b
lavd/avfoundation: Silence c99 warnings when using gcc.
...
Reviewed-by: Thilo Borgmann
10 years ago
Carl Eugen Hoyos
732f46a675
lavd/qtkit: Silence deprecation warnings when using clang.
...
Reviewed-by: Thilo Borgmann
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
Andreas Cadhalpun
482c86f231
fix spelling errors
...
opttimizations -> optimizations
grabing -> grabbing
many resource -> many resources
isnt -> isn't
silcense -> silence
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
John Robinson
98d19ca8f1
lavd/avfoundation: Add support for 24 and 32bit integer input.
...
Tested on Mac Mini soundflower and built-in line input.
Reviewed-by: Thilo Borgmann
10 years ago