Luca Barbato
2c6fb9f032
v4l2: do not force NTSC as standard
...
Setting a standard is meaningful only for analog capture devices.
2011-06-05 14:20:56 -05:00
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
2011-06-05 15:01:36 +02:00
Anton Khirnov
ff494cbdaf
x11grab: add framerate private option.
2011-06-04 19:49:56 +02:00
Anton Khirnov
a3b15e411d
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
2011-06-04 19:48:08 +02:00
Anton Khirnov
1572484f62
bktr: don't error when AVFormatParameters.time_base isn't set.
...
There's a private option for it now.
2011-06-04 19:47:59 +02:00
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>
2011-06-03 13:55:55 +02:00
Anton Khirnov
bd7c1d35a6
bktr: get default framerate from video standard.
2011-06-03 08:11:05 +02:00
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
2011-06-03 00:44:06 +02:00
Diego Biurrun
2366462429
Replace #ifdef + av_log() combinations by av_dlog().
2011-06-03 00:44:03 +02:00
Anton Khirnov
fefa67d536
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
2011-06-02 21:52:15 +02:00
Anton Khirnov
4078ed2631
vfwcap: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
c21324eeb6
v4l2: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
121ef2e26d
libdc1394: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
1556186a62
fbdev: add a framerate private option.
2011-06-02 21:52:12 +02:00
Anton Khirnov
3e3db4d93d
bktr: add a framerate private option.
2011-06-02 21:50:17 +02:00
Anton Khirnov
7a70e01b26
v4l2: don't leak video standard string on error.
2011-05-29 15:10:35 +02:00
Anton Khirnov
d576bbf3eb
v4l2: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2e0e1e712a
libdc1394: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
724a900c45
x11grab: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3102fb0351
x11grab: factorize returning error codes.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
8fe7b6443f
v4l2: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
82b5aa0add
v4l2: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00
Anton Khirnov
fd48620e3e
libdc1394: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
284bac2e77
libdc1394: return meaninful error codes.
2011-05-27 06:52:51 +02:00
Anton Khirnov
33e0369672
bktr: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
3577416212
bktr: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00
Anton Khirnov
3d96c13e43
v4l: include avdevice.h
...
Fixes build.
2011-05-26 20:44:19 +02:00
Anton Khirnov
aaea149035
lavdevice: mark v4l for removal on next major bump.
2011-05-26 19:04:02 +02:00
Anton Khirnov
2341c97e8d
libdc1394: fix compilation.
...
Add a forgotten comma and move options/class definition outside of
HAVE_LIBDC1394_1.
2011-05-26 09:23:56 +02:00
Anton Khirnov
d20576d01b
lavf: deprecate AVFormatParameters.channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
79405e57dc
libdc1394: add a private option for channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
986f4f4918
dv1394: add a private option for channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
3d2a418605
v4l2: reindent.
2011-05-25 15:55:47 +02:00
Anton Khirnov
a02fd06ab7
v4l2: add a private option for channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
2011-05-25 15:55:47 +02:00
Anton Khirnov
b3da269211
v4l2: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
a861ffeffa
v4l: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
eb040dbbd3
dv1394: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
e199eb44fd
bktr: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
2011-05-25 15:55:46 +02:00
Anton Khirnov
2ea8faf39f
ALSA: add channels and sample_rate private options.
2011-05-25 15:20:26 +02:00
Anton Khirnov
003e63b6df
oss: add channels and sample_rate private options.
2011-05-25 15:20:26 +02:00
Anton Khirnov
a1a15a9993
sndio: add channels and sample_rate private options.
2011-05-25 15:20:26 +02:00
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.
2011-05-12 11:41:59 +02:00
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
2011-04-29 17:27:01 +02:00
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>
2011-04-21 14:13:09 +03:00
Anton Khirnov
139f3ac42d
Bump major versions of all libraries.
...
They've accumulated enough new APIs and corresponding deprecated cruft.
This breaks API and ABI.
2011-04-18 20:19:47 +02:00
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>
2011-03-29 21:19:39 -07:00
Stefano Sabatini
c6f951442e
framebuffer device demuxer
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-03-28 16:49:22 +02:00