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
Ramiro Polla
1c282f96ab
dshow: add option to list devices
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
13 years ago
Ramiro Polla
fad4e1a572
dshow: factorise cycling through devices
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
13 years ago
Michael Niedermayer
83a0caad84
alsa: increase max buffer size
...
Fixes Ticket373
Thanks to llogan for testing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
ff5e1b0b7a
dshow: properly disconnect and remove filters from graph
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
5e77dc2ea7
dshow: remove some unused code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
0a333001a2
vfwcap: actually use framerate option
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
4f7dfe12ea
lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to buffersink.h
...
This is done in order to clarify the non-video-specific nature of the
buffersink code, as the result of the video/audio API unification of
the previous commit, and for improving overall consistency.
13 years ago
Stefano Sabatini
c4415f6ec9
lavfi: unify asink_buffer and vsink_buffer API
...
The new API is more generic (no distinction between audio/video for
pulling frames), and avoids code duplication.
A backward compatibility layer is kept for avoiding tools ABI breaks
(only for the video binary interface, audio interface was never used
in the tools).
13 years ago
Michael Niedermayer
6fc1299cca
openal-dec: fix missing list_devices unit for list_devices AVOption
...
Found-by: Ramiro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
177aec1257
Do not free BITMAPINFOHEADER before we are done using it.
...
Fixes trac ticket #396 .
Completely untested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Diego Biurrun
aebb56e184
Replace some commented-out debug printf() / av_log() messages with av_dlog().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
6da590d0a5
lavdev/lavfi: add debug traces in lavfi_read_packet()
13 years ago
Stefano Sabatini
6a5c693a18
lavdev/lavfi: set sample aspect ratio in the output stream/codec context
13 years ago
Stefano Sabatini
4b66c8b425
lavdev/lavfi: specify pos in the output packets
13 years ago
Stefano Sabatini
7fd3e1c766
lavdev/lavfi: initialize variable, fix warning
13 years ago
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
13 years ago
Anton Khirnov
a7c93dae55
jack: add 'channels' private option.
...
Get rid of AVFormatParameters usage.
13 years ago
Stefano Sabatini
a9d1878abe
lavdev/lavfi: correctly set the inout pad index when linking a filter to the output sink
...
In lavfi_read_header(), use the pad index designated in the inout for
linking an output to a sink, rather than always 0. Fix link creation
for filters with more than one output (e.g. the split filter).
13 years ago
Stefano Sabatini
214357341a
lavdev: add libavfilter virtual input device
...
This input device is to be considered still experimental, only video
output is supported.
13 years ago
Clément Bœsch
afd7e46bd4
alsa: remove too unused variables.
...
This fixes the two following warnings:
libavdevice/alsa-audio-dec.c:62:26: warning: unused variable ‘sw_params’ [-Wunused-variable]
libavdevice/alsa-audio-dec.c:109:15: warning: unused variable ‘st’ [-Wunused-variable]
13 years ago
Yu-Jie Lin
1442d29533
x11grab: add show_region AVOption.
...
Draw the current grabbing region for indication.
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Yu-Jie Lin
085791a92e
x11grab: add follow_mouse AVOption.
...
-follow_mouse centered|PIXELS
move grabbing region to where mouse pointer at the center; or
only move when pointer reaches within PIXELS to the edge.
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Diego Biurrun
ad4cd0c2a4
doxygen: use Doxygen markup for authors and web links where appropriate
14 years ago
Justin Ruggles
e35c674d13
alsa: limit buffer_size to 32768 frames.
...
In testing, the file output plugin gave a max buffer size of about 20 million
frames, which is way more than what is really needed and causes a memory
allocation error on my system.
14 years ago
Justin Ruggles
8bfd7f6a47
alsa: fallback to buffer_size/4 for period_size.
...
buffer_size/4 is the value used by aplay. This fixes output to null
devices, e.g. writing ALSA output to a file.
14 years ago
Anton Khirnov
ce558c8f59
x11grab: replace undocumented nomouse hackery with a private option.
14 years ago
Diego Biurrun
f9853c1b9c
libavdevice: Remove disabled code.
14 years ago
Diego Biurrun
d3f751e603
Add some missing mathematics.h #includes for av_rescale().
14 years ago