Nicolas George
d1b029dec9
ALSA encoder: correctly set time_base.
14 years ago
Mans Rullgard
57b4a3dd2b
build: include sub-makefiles using full path instead of symlinks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Jonathan Baldwin
65eae2a7a2
lavdev: add openal input device
14 years ago
Reimar Döffinger
1109680434
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
...
This reverts commit a6213f3dce
.
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
Anton Khirnov
ffc6c8a430
Support u8, s8, alaw and mulaw channel reordering in alsa.
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
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