Mans Rullgard
57b4a3dd2b
build: include sub-makefiles using full path instead of symlinks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
a6213f3dce
build: Remove redundant config.mak includes from subdirectory Makefiles.
...
Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.
14 years ago
Stefano Sabatini
41b68dce4d
lavdev: improve feedback in case of invalid frame rate/size
...
Show the invalid string in the error message.
While at it also prefer "Could not" over "Couldn't", plain forms are
preferred over contractions (simplify readability, especially for non
English-savvy people).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
a4bda40544
vfwcap: prefer "framerate_q" over "fps" in vfw_read_header()
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
e60068baeb
v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
a5351720cc
fbdev: prefer "framerate_q" over "fps" in device context
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
da51a7c69c
bktr: prefer "framerate" over "fps" for grab_read_header()
...
The variable is used for containing the parsed value of s1->framerate,
using a lexically consistent name ease readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Nicolas George
147bcf27c4
ALSA: implement channel layout for playback.
...
Currently quad, 5.0, 5.1 and 7.1 are implemented.
Implementing support for other formats/layouts and capture should be
straightforward.
5.0 and 7.1 support by Carl Eugen Hoyos.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
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
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
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
Anton Khirnov
7a70e01b26
v4l2: don't leak video standard string on error.
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
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