Clément Bœsch
2f0f9a87d0
Fix various if parenthesis misplacements.
13 years ago
Luca Barbato
2625b621ce
pulse: compute frame_duration once and fix it
...
The frame duration was calculated without taking in account the
bytes per sample.
Thanks to Lorenzo Pistone <blaffablaffa@gmail.com> for pointing
the issue and providing an initial fix.
13 years ago
Carl Eugen Hoyos
b3c67372a5
Force opaque alpha channel for 32bit x11grab image.
...
Fixes ticket #163 .
Approved-by: Clemens Fruhwirth
Approved-by: Edouard Gomez
13 years ago
Michael Niedermayer
5955c63c36
v4l2: fix uninitialized variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
d3bc75c666
dshow: support BI_BITFIELDS compression type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
3607ed70d5
Remove leftover includes of strings.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Reimar Döffinger
bb3244dee2
Replace all usage of strcasecmp/strncasecmp
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ramiro Polla
526a7d855d
dshow: don't print min/max values for fps the wrong way around
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
e3e962835f
dshow: save opened device reference so it may be properly closed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
21a928d07c
dshow: release filter reference obtained from enumeration
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
5b186148bf
dshow: indent
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
2f9b955918
dshow: support choosing between devices with same name
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
91e7e6b721
Make sdl_overlay_pix_fmt_map static const.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
8541422506
Make rgb_pixfmt_map const.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
1054ab3595
v4l2: add libv4l2 support.
13 years ago
Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
13 years ago
Reimar Döffinger
96949dafcc
Replace all strcasecmp/strncasecmp usages.
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
6921272b23
lavd: add v4l and v4l2 aliases.
13 years ago
Luca Barbato
0de9c41ff4
pulse: introduce pulseaudio input
...
It currently use the simple api and is using the latency information
provided only to offset the stream start.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
94619d5e55
pulse: set the device from the avformat filename
...
Cleanup the options and add explicit fragment_size avoption.
13 years ago
Michael Niedermayer
f5fdb12d55
pulse: Change application name to LIBAVFORMAT_IDENT
...
This should be changed to LIBAVDEVICE_IDENT once it exists.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8646d610ff
pulse: fix application name
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
5dd35b43f1
Move timefilter code from lavf to lavd.
...
It's only used in the JACK device.
Fixes linking shared lavd with JACK enabled.
13 years ago
Anton Khirnov
ab88b25f99
lavf: use avpriv_ prefix for some dv functions.
...
They are used in libavdevice.
13 years ago
Anton Khirnov
1fa395e471
lavf: use avpriv_ prefix for ff_new_chapter().
...
It's used in libavdevice.
13 years ago
Luca Barbato
796cd225da
pulse: cosmetics
13 years ago
Luca Barbato
f5b0938169
pulse: introduce pulseaudio input
...
It currently use the simple api and is using the latency information
provided only to offset the stream start.
13 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
13 years ago
Stefano Sabatini
477718f40b
lavd/lavfi: compute and use the used samples buffer size for the output audio packet size
...
Do not assume the used size is the same of the allocated size, as it was
wrongly assumed. Fix audio playback when the two values differ.
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Diego Biurrun
e83c2ddebf
Fix 'heigth' vs. 'height' typos.
13 years ago
chinshou
2d8cfe1f65
libcdio: Fix missing avclass in context
...
Fixes Ticket526
13 years ago
Diego Biurrun
30b4ee7901
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
13 years ago
Anton Khirnov
4d77d57d20
alsa: add missing header
...
Fixes compile with next lavc major.
13 years ago
Carl Eugen Hoyos
4bc447a3c5
Fix compilation with --disable-everything --enable-outdev=alsa.
...
Bug found and analysed by skierpage.
13 years ago
Anton Khirnov
e417d80d28
lavd: add libcdio-paranoia input device for audio CD grabbing
13 years ago
Stefano Sabatini
e3fc0e8280
lavdev/lavfi: reindent after the last commit
13 years ago
Stefano Sabatini
4893c204c8
lavdev/lavfi: add audio support
13 years ago
Ramiro Polla
6613db9736
dshow: remove filters from graph before releasing them
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
a1644f6287
dshow: reset list for each filter removed
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
215e197942
dshow: invert condition to avoid leaking objects
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
dd41036a4c
dshow: cleanup internal references on capture interface
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
0b951d103d
dshow: release pin on disconnect
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
01b997b958
dshow: indent
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
0883a7fa3b
dshow: add option to list audio/video options
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
c4b2027d10
dshow: add audio/video options
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
d0da310317
dshow: initialize variable to prevent releasing random data
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
ee4ed80485
dshow: factorise cycling through pins
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
f0c64d0d0b
dshow: indent
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
13 years ago