Anton Khirnov
7a70e01b26
v4l2: don't leak video standard string on error.
14 years ago
Stefano Sabatini
895e4de8d5
v4l2: create file @doxy from text in the copyright header
14 years ago
Stefano Sabatini
72c60f3ecd
v4l2: remove pointless empty lines
14 years ago
Stefano Sabatini
af344a69f3
v4l2: set default standard to NULL
...
Avoid a failure with the default value of "NTSC". Not all drivers
support a standard.
14 years ago
Stefano Sabatini
f8f3f6c40b
v4l2: use OFFSET macro when setting options
...
Improve readability.
14 years ago
Stefano Sabatini
b2a6f25c67
lavdev: add SDL output device
14 years ago
Anton Khirnov
d576bbf3eb
v4l2: add a pixel_format private option.
14 years ago
Anton Khirnov
2e0e1e712a
libdc1394: add a pixel_format private option.
14 years ago
Martin Lambers
b8773e44d5
libdc1394: choose best video mode and rate based on camera capabilities.
14 years ago
Martin Lambers
ea7e318fb2
Remove support for libdc1394 < 2.0.
...
Versions >= 2.0 have been around for a very long time now.
14 years ago
Stefano Sabatini
6b899e16de
lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h
14 years ago
Stefano Sabatini
e48993e3cf
lavdev: include libavformat/avformat.h in avdevice.h
...
The header is always required for files which directly deal with
devices, since libavdevice uses the AVFormat* structures defined in
avformat.h.
Avoid the need to explicitely add libavformat/avformat.h.
14 years ago
Anton Khirnov
724a900c45
x11grab: add video_size private option.
14 years ago
Anton Khirnov
3102fb0351
x11grab: factorize returning error codes.
14 years ago
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
14 years ago
Anton Khirnov
8fe7b6443f
v4l2: add video_size private option.
14 years ago
Anton Khirnov
82b5aa0add
v4l2: factorize returning error codes.
...
This will be useful in the following commit.
14 years ago
Anton Khirnov
fd48620e3e
libdc1394: add video_size private option.
14 years ago
Anton Khirnov
284bac2e77
libdc1394: return meaninful error codes.
14 years ago
Anton Khirnov
33e0369672
bktr: add video_size private option.
14 years ago
Anton Khirnov
3577416212
bktr: factorize returning error codes.
...
This will be useful in the following commit.
14 years ago
Anton Khirnov
3d96c13e43
v4l: include avdevice.h
...
Fixes build.
14 years ago
Anton Khirnov
aaea149035
lavdevice: mark v4l for removal on next major bump.
14 years ago
Anton Khirnov
2341c97e8d
libdc1394: fix compilation.
...
Add a forgotten comma and move options/class definition outside of
HAVE_LIBDC1394_1.
14 years ago
Anton Khirnov
d20576d01b
lavf: deprecate AVFormatParameters.channel.
14 years ago
Anton Khirnov
79405e57dc
libdc1394: add a private option for channel.
14 years ago
Anton Khirnov
986f4f4918
dv1394: add a private option for channel.
14 years ago
Anton Khirnov
3d2a418605
v4l2: reindent.
14 years ago
Anton Khirnov
a02fd06ab7
v4l2: add a private option for channel.
14 years ago
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
14 years ago
Anton Khirnov
b3da269211
v4l2: add a private option for video standard.
14 years ago
Anton Khirnov
a861ffeffa
v4l: add a private option for video standard.
14 years ago
Anton Khirnov
eb040dbbd3
dv1394: add a private option for video standard.
14 years ago
Anton Khirnov
e199eb44fd
bktr: add a private option for video standard.
14 years ago
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
14 years ago
Anton Khirnov
2ea8faf39f
ALSA: add channels and sample_rate private options.
14 years ago
Anton Khirnov
003e63b6df
oss: add channels and sample_rate private options.
14 years ago
Anton Khirnov
a1a15a9993
sndio: add channels and sample_rate private options.
14 years ago
Ramiro Polla
a13fec8a9c
DirectShow capture: Fix build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ramiro Polla
95eb2e3a38
DirectShow capture support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
046f081b46
configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.
...
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.
This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually. It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.
Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc.
14 years ago
Reimar Döffinger
148ffcd2ce
Make DV (sub) demuxer set proper pkt->pos values.
...
This makes the avi demuxer create packets with proper pos values
with the file from ticket #140 .
14 years ago
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
14 years ago
Martin Storsjö
32a128522a
libavdevice: Define _XOPEN_SOURCE for usleep
...
This hopefully fixes build failures on Dragonfly BSD.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
139f3ac42d
Bump major versions of all libraries.
...
They've accumulated enough new APIs and corresponding deprecated cruft.
This breaks API and ABI.
14 years ago
Carl Eugen Hoyos
f4bc923ec1
Allow to print wider unsupported channel layouts.
14 years ago
Carl Eugen Hoyos
b8a4444266
AV_CH_LAYOUT_2_2 does not need channel reordering for alsa output.
14 years ago
Carl Eugen Hoyos
19de9d5646
Cosmetics: Fix indentation and move one line.
14 years ago
Carl Eugen Hoyos
460acdf059
Support alsa channel reordering for float.
14 years ago
Carl Eugen Hoyos
e2049edb4e
Add forgotten line to silence a warning for int32.
...
AV_CH_LAYOUT_QUAD is the only (multi-) channel layout that has the
same channel ordering for FFmpeg and alsa.
14 years ago