Carl Eugen Hoyos
2359aeb52d
alsa: support unsigned variants of already supported signed formats.
14 years ago
Carl Eugen Hoyos
921715edff
alsa: add support for more formats.
...
Specifically, f32, f64, s32, s24, a-law and mu-law.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Sven C. Dack
2f2c60400a
x11grab: remove a memory allocation and the associated memcpy.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Reimar Döffinger
c673c90515
oss,sndio: simplify by using FFMIN.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
3251af9037
v4l2: set default standard to NULL
...
It was errouneously changed to "NTSC" by the recent merge commit.
14 years ago
Luca Barbato
2c6fb9f032
v4l2: do not force NTSC as standard
...
Setting a standard is meaningful only for analog capture devices.
14 years ago
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
14 years ago
Stefano Sabatini
e844abc498
sdl: align option fields after last commit
14 years ago
Stefano Sabatini
0d0fdb0ad5
sdl: use the filename for defining the window title, if not specified
...
This allows a more efficient use of the commandline.
14 years ago
Anton Khirnov
ff494cbdaf
x11grab: add framerate private option.
14 years ago
Anton Khirnov
a3b15e411d
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
14 years ago
Anton Khirnov
1572484f62
bktr: don't error when AVFormatParameters.time_base isn't set.
...
There's a private option for it now.
14 years ago
Stefano Sabatini
94bed8e582
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
...
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Anton Khirnov
bd7c1d35a6
bktr: get default framerate from video standard.
14 years ago
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 years ago
Diego Biurrun
2366462429
Replace #ifdef + av_log() combinations by av_dlog().
14 years ago
Anton Khirnov
fefa67d536
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
14 years ago
Anton Khirnov
4078ed2631
vfwcap: add a framerate private option.
14 years ago
Anton Khirnov
c21324eeb6
v4l2: add a framerate private option.
14 years ago
Anton Khirnov
121ef2e26d
libdc1394: add a framerate private option.
14 years ago
Anton Khirnov
1556186a62
fbdev: add a framerate private option.
14 years ago
Anton Khirnov
3e3db4d93d
bktr: add a framerate private option.
14 years ago
Stefano Sabatini
7533a727f9
v4l2: rewrite code iterating the supported standards
...
Simplify/clarify the code logic and error reporting.
14 years ago
Stefano Sabatini
2d48515eb7
v4l2: perform minor style fixes
14 years ago
Stefano Sabatini
7b017086d4
v4l2: replace memset() with explicit struct initialization
14 years ago
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