Diego Biurrun
14d3e7ad11
Remove some silly disabled code.
12 years ago
rogerdpack
1bdb4b26a8
dshow: enhance error message
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
jamal
a70b4935f1
Add missing version macros to libraries
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
53d71335cb
lavd/lavfi: push frames until the last sink is EOF
...
Previously the device was returning EOF when the first sink was ending,
with the current change the device will continue to return frames until
all the sinks are EOF, which seems the most expected behavior.
12 years ago
Stefano Sabatini
30a265f058
lavd/lavfi: apply stylistic fixes to the options help fields
12 years ago
Derek Buitenhuis
80d2ec6bc9
dshow: Change WINBOOL to BOOL
...
WINBOOL is MinGW-specific, and since both MSVC and MinGW
have BOOL, use that instead.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
09cc23e0f7
lavd/sdl: decrease debug info notice log level from AV_LOG_INFO to VERBOSE
...
Decrease log spam.
12 years ago
Stefano Sabatini
a7c7b34d29
lavd/sdl: remove trailing dot in messages
...
This is consistent with the apparently prevailing convention.
12 years ago
Ramiro Polla
dc5fcdb896
lavd/dshow: use AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Ramiro Polla
37a0db50db
lavd/dshow: support video codec and pixel format selection
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Martin Storsjö
e6153f173a
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
d58dd4b5b5
avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
124134e424
avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
3061664a57
avoid ambigous buffersink names
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e7b4337777
v4l2: fix compile on systems that lack V4L2_PIX_FMT_CPIA1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stephan Hilb
6eac554659
Add CPiA video decoder
...
The cpia video decoder is intended to be used with the v4l2 demuxer.
There are some small changes to the v4l2 demuxer to support the
variable frame length of the format.
Fixes ticket #1537
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
ad7fae4ee1
dshow: allow user to specify audio buffer size
...
Based on patch by rogerdpack <rogerpack2005@gmail.com>
Tested-by: Roger Pack <rogerdpack2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
rogerdpack
415f4cca1d
dshow:protect access to curbufsize to promote consistency
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
rogerdpack
a966d94891
dshow: avoid integer overflow when using curbufsize
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
rogerdpack
a93c221ccd
dshow: protect access to curbufsize
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
rogerdpack
42dbf06df0
dshow: cleanup reference
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Stefano Sabatini
4270d8c04d
lavd/x11grab: deprecate "nomouse" specification in filename
...
Favor draw_mouse option. Should simplify parsing, and make it more
robust.
13 years ago
Stefano Sabatini
c93b796c3e
lavd/x11grab: apply misc consistency fixes to options definition
...
In particular, do not upcase first word, do not use final dot, use a verb
to specify what the option does, sort entries by name, apply random
vertical align.
13 years ago
Michael Niedermayer
bb2f13c19f
rename missed CodecID to AVCodecID
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Clément Bœsch
16dc5f2050
Replace various inlined inverse AVRational with av_inv_q().
13 years ago
Diego Biurrun
0177b7d23a
Improve descriptiveness of a number of codec and container long names
13 years ago
Anton Khirnov
c4ef6a3e4b
Add missing libavutil/time.h includes.
13 years ago
Diego Biurrun
24f8961f93
x11grab: cosmetics: consistent naming for x11grab-related things
13 years ago
Stefano Sabatini
c0b91348fe
lavd/caca: create display *after* checking dither options
...
Avoid fastidious creation and immediate destroy of the display in case
one of the dither options fails to be set.
Also add NULL checks in write_trailer(), which are now necessary since
the function can be called when not all the components have been
initialized.
13 years ago
Stefano Sabatini
9ce0e19ab6
lavd/caca: provide more meaningful feedback if fails to set a dither option
13 years ago
Stefano Sabatini
fa71471cef
lavd/caca: rename "colors" option to "color"
...
More consistent with libcaca function names. Should not harm since the
device was added less than one day ago.
13 years ago
Stefano Sabatini
d510527885
lavd/caca: sort arguments for -list_dither
13 years ago
Stefano Sabatini
295e0e4b4f
lavd/caca: extend error message for -list_dither option
13 years ago
Paul B Mahol
296c1b6bd1
libcaca output device
13 years ago
Nicolas George
fd58678b86
v4l2: remove call to v4l2_fd_open.
...
v4l2_fd_open is already called at the end of v4l2_open;
calling a second time leaks structures inside libv4l2.
Fix trac ticket #1560 .
13 years ago
Stefano Sabatini
7e17389c1e
lavd/sdl: use verb in options help message
...
An help message tells what an option does, not what its argument is.
13 years ago
Michael Niedermayer
a6a085a928
v4l2: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Lou Logan
b22ecbc6a5
cosmetics: various spelling fixes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Georg Lippitsch
325fb246f2
FireWire DV/HDV input device using libiec61883
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Diego Biurrun
86ab7b0f2f
Create version.h headers for libraries that lack them
13 years ago
Stefano Sabatini
8dd0e87d7b
lavfi: remove old video sink API
...
It was deprecated since a long time and removed after the 2->3 major
bump.
13 years ago
Nicolas George
7681d0eaca
lavd/lavfi: do not set the channel layout list.
...
The list was set to avfilter_all_channel_layouts,
which is really all common channel layouts.
Not setting it leaves an empty list,
which now means really all.
13 years ago
Mans Rullgard
6501dcfb5e
Remove unnecessary inclusions of [sys/]time.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
d246c18ea6
Avoid C99 variable declarations within for statements.
...
We generally do not declare variables within for statements and
there are compilers that choke on such constructs.
13 years ago
Sean McGovern
8772997d10
jack: update to new latency range API as the old one has been deprecated
...
Fixes Bugzilla #279 .
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Nicolas George
4adf5dfadb
sdl: fix aspect ratio computations.
...
The rounding was wrong due to incorrect ue of floats,
changed to rationals and av_rescale.
The results were not properly passed to SDL.
13 years ago
Nicolas George
3ff6b1a2b3
sdl: fix overlay size.
...
The size passed to SDL_CreateYUVOverlay is the size
of the video in pixels, it must not take the aspect ratio
into account.
13 years ago