Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
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
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Diego Biurrun
30b4ee7901
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
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
Stefano Sabatini
a4bda40544
vfwcap: prefer "framerate_q" over "fps" in vfw_read_header()
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
14 years ago
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 years ago
Anton Khirnov
4078ed2631
vfwcap: add a framerate private option.
14 years ago
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
Ramiro Polla
1973e1018e
vfwcap: add option to print list of supported drivers
...
Originally committed as revision 25552 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ramiro Polla
faa2989e0f
vfwcap: flip RGB rawvideo.
...
Originally committed as revision 22989 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2874c81cc8
Replace all remaining occurrences of AVERROR_NOMEM with
...
AVERROR(ENOMEM).
AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.
Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
ad8eede7b1
vfwcap: Free remaining packets on vfw_read_close().
...
Originally committed as revision 22575 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
ce03ed4df1
Do not store a copy of AVFormatContext *s in vfw_ctx.
...
Save *s directly in SetWindowLongPtr instead.
Originally committed as revision 22574 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
5ae092ee34
Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark
...
AVERROR_EIO for deletion at the next major bump.
Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
e24080f00e
vfwcap: Add support for UYVY pixel format.
...
Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nash Tsai
d7a4961e53
vfwcap: support MJPG compressed streams.
...
Patch by Nash Tsai <nash dot tsai at gmail dot com>
Originally committed as revision 22004 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
kemuri
420755dd28
vfwcap: Include windows.h before vfw.h since the latter requires defines
...
from the former.
Patch by kemuri <kemuri9 at gmail dot com>
Originally committed as revision 21411 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
315fa33f29
Indent.
...
Originally committed as revision 19757 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
a9decf0041
Use if(0){} instead of #if 0 to prevent debug code to rot.
...
Originally committed as revision 19756 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c959c6ee3d
vfwcap: Move vfw_read_close to avoid forward declaration.
...
Patch by Diego.
Originally committed as revision 19567 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
155b0f00d4
vfwcap: Indent.
...
Originally committed as revision 19545 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
1c0b9215ac
vfwcap: Support compressed streams.
...
Originally committed as revision 19544 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
42477de59e
vfwcap: Reorder some code to simplify next patch.
...
Originally committed as revision 19543 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d40b45e8b0
vfwcap: Return PIX_FMT_NONE instead of -1 on error.
...
Originally committed as revision 19542 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
189230ad67
vfwcap: Update error message:
...
- Verbose debug information is at max -v 9 now;
- Add an empty space for readability.
Originally committed as revision 19541 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
bc4b722143
mingw: update w32api to 3.13
...
Originally committed as revision 16029 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a3250d073d
sync to latest mingw api, remove unneeded struct definitions
...
Originally committed as revision 15423 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
00adc1e5dc
set bits_per_coded_sample according to new lavc api
...
Originally committed as revision 15289 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
4b1131a075
typo
...
Originally committed as revision 12823 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
cada03275e
Add #if 0 code to test for yet unsupported compressions
...
from user-supplied verbose information.
Originally committed as revision 12822 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
23ef6da836
Support biCompression I420
...
Originally committed as revision 12821 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
e4d286f1c7
Cosmetics: remove {}s over one-lined ifs.
...
Originally committed as revision 12820 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
e110f48608
Simplify more errors by using goto
...
Originally committed as revision 12819 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
76c2662b48
Simplify returning errors by using goto
...
Originally committed as revision 12818 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
d76c3e077e
Correctly handle case where buffer is 100% full
...
Originally committed as revision 12389 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
c234520736
VFW capture support
...
Originally committed as revision 12384 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago