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
Carl Eugen Hoyos
47c0c8ca9d
Also support alsa channel reordering for u16 and u32 formats.
14 years ago
Carl Eugen Hoyos
1171d45f6c
Rename the s16 and s32 alsa reorder functions as int16 and int32.
...
The functions will also be used for unsigned formats.
14 years ago
Carl Eugen Hoyos
0ae2a0366f
Support unsigned variants of already supported signed formats in alsa.
14 years ago
Carl Eugen Hoyos
075a55603f
Support a-law and mu-law output in alsa.
14 years ago
Sven C. Dack
44a8b0ddd9
Cosmetics: Rename variable param as the more appropriate dpyname.
14 years ago
Sven C. Dack
9af2097120
Cosmetics: Fix white-space in av_log() message.
14 years ago
Carl Eugen Hoyos
ff2614ee4c
Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.
14 years ago
Carl Eugen Hoyos
71306c5d21
Support CODEC_ID_PCM_F64* output via alsa (stereo only).
14 years ago
Carl Eugen Hoyos
5778466e92
Support CODEC_ID_PCM_S24* output via alsa (stereo only).
14 years ago
Michael Niedermayer
2e92a34cde
Revert "fbdev: simplify logic in fbdev_read_packet()"
...
This change is buggy.
This reverts commit d46c9f83cf
.
14 years ago
Stefano Sabatini
d46c9f83cf
fbdev: simplify logic in fbdev_read_packet()
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Carl Eugen Hoyos
c55efca05b
x11: fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
2ed05f657f
Add support for pcm_f32* to alsa.
14 years ago
Carl Eugen Hoyos
4d1d6f7a3c
Support s32 output via alsa audio device.
14 years ago
Carl Eugen Hoyos
efec2d7b35
Template alsa reordering functions.
14 years ago
Nicolas George
1e96d4c71e
ALSA: fix a stupid bad use of av_freep.
...
It caused a segfault when channel reordering was in use and the last chunk
of data was not silent.
Spotted and diagnosed by Carl Eugen Hoyos.
14 years ago
Sven C. Dack
39530272c5
Remove a memory allocation and the associated memcpy.
14 years ago
Carl Eugen Hoyos
3efaa24f85
Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.
14 years ago
Brad
2eddfb2b13
sndio bug fix
...
Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Reimar Döffinger
1862778732
sndio: allow any endianness when recording
...
Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
It is possible that 8-bit recording would not have worked at all on
some systems without that change.
14 years ago
Reimar Döffinger
e76c0c6a00
Simplify: Use FFMIN.
14 years ago
Stefano Sabatini
e93d97156d
sndio: prefer "FFmpeg" over "Libav" in the license header
14 years ago
Stefano Sabatini
c6f951442e
framebuffer device demuxer
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Brad
15d59d2cea
sndio support for playback and record
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Nicolas George
813dbb4442
ALSA: implement channel layout for playback.
...
Currently, only S16 quad, 5.1 and 7.1 are implemented.
Implementing support for other formats/layouts and capture should be
straightforward.
7.1 support by Carl Eugen Hoyos.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
e528cdac8a
Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
...
This reverts commit 29ba091136
.
14 years ago
Michael Niedermayer
0cb88628fb
Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
...
This reverts commit a03be6e1ba
.
14 years ago
Janne Grunau
a03be6e1ba
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
14 years ago
Janne Grunau
29ba091136
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
...
also update the multiple inclusion guards in config.h|mak
14 years ago
Stefano Sabatini
478607668c
fbdev: fix check on nanosleep return vale
...
In fbdev_read_packet(): nanosleep returns -1 in case of errors,
the EINTR check has to be done on errno.
Spotted by Nicolas.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago