Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
2012-08-07 16:00:24 +02:00
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
2012-01-27 10:51:57 +01:00
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
2011-11-30 20:34:45 +01:00
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)/'
2011-10-19 17:02:11 +02:00
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
2011-10-12 16:51:16 +02:00
Diego Biurrun
30b4ee7901
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
2011-09-24 12:11:17 +02:00
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.
2011-08-15 19:59:48 +02:00
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>
2011-06-23 08:49:49 +02: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
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
2011-06-03 00:44:06 +02:00
Anton Khirnov
4078ed2631
vfwcap: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
2011-05-27 06:52:51 +02:00
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
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.
2011-01-26 22:10:09 +00:00
Ramiro Polla
1973e1018e
vfwcap: add option to print list of supported drivers
...
Originally committed as revision 25552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-23 02:11:30 +00:00
Ramiro Polla
faa2989e0f
vfwcap: flip RGB rawvideo.
...
Originally committed as revision 22989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-29 13:05:27 +00:00
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
2010-04-03 14:15:00 +00:00
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
2010-03-30 23:30:55 +00:00
Ramiro Polla
ad8eede7b1
vfwcap: Free remaining packets on vfw_read_close().
...
Originally committed as revision 22575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:36:06 +00:00
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
2010-03-17 04:24:43 +00:00
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
2010-03-13 19:19:44 +00:00
Ramiro Polla
e24080f00e
vfwcap: Add support for UYVY pixel format.
...
Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 05:25:06 +00:00
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
2010-02-23 16:49:16 +00:00
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
2010-01-23 20:58:29 +00:00
Ramiro Polla
315fa33f29
Indent.
...
Originally committed as revision 19757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-04 16:32:06 +00:00
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
2009-09-04 16:31:21 +00:00
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
2009-08-02 17:39:10 +00:00
Ramiro Polla
155b0f00d4
vfwcap: Indent.
...
Originally committed as revision 19545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 17:31:28 +00:00
Ramiro Polla
1c0b9215ac
vfwcap: Support compressed streams.
...
Originally committed as revision 19544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 17:29:24 +00:00
Ramiro Polla
42477de59e
vfwcap: Reorder some code to simplify next patch.
...
Originally committed as revision 19543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 17:25:15 +00:00
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
2009-07-30 16:18:33 +00:00
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
2009-07-30 16:16:43 +00:00
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Ramiro Polla
bc4b722143
mingw: update w32api to 3.13
...
Originally committed as revision 16029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 05:17:57 +00:00
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Baptiste Coudurier
a3250d073d
sync to latest mingw api, remove unneeded struct definitions
...
Originally committed as revision 15423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 03:20:35 +00:00
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
2008-09-09 18:32:50 +00:00
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
2008-06-03 16:20:54 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Ramiro Polla
4b1131a075
typo
...
Originally committed as revision 12823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 16:20:58 +00:00
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
2008-04-14 15:44:33 +00:00
Ramiro Polla
23ef6da836
Support biCompression I420
...
Originally committed as revision 12821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 15:41:10 +00:00
Ramiro Polla
e4d286f1c7
Cosmetics: remove {}s over one-lined ifs.
...
Originally committed as revision 12820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 15:13:06 +00:00
Ramiro Polla
e110f48608
Simplify more errors by using goto
...
Originally committed as revision 12819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 15:07:12 +00:00
Ramiro Polla
76c2662b48
Simplify returning errors by using goto
...
Originally committed as revision 12818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 14:59:51 +00:00
Ramiro Polla
d76c3e077e
Correctly handle case where buffer is 100% full
...
Originally committed as revision 12389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 23:06:33 +00:00
Ramiro Polla
c234520736
VFW capture support
...
Originally committed as revision 12384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 22:10:28 +00:00