Anton Khirnov
8e84c072e4
intelh263dec: aspect ratio processing fix.
...
patch submitted by xvid_fan freenet de
2011-06-09 22:53:17 +02:00
Anton Khirnov
95a05030ca
intelh263dec: fix "Strict H.263 compliance" file playback
...
fixes issue2449
patch submitted by xvid_fan freenet de
2011-06-09 22:53:17 +02:00
Anton Khirnov
dbaba52ed2
lavf: don't try to free private options if priv_data is NULL.
...
This might happen if there was an error before priv_data was allocated
and result in segfault.
2011-06-08 19:51:31 +02:00
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
2011-06-08 07:43:45 +02:00
Anton Khirnov
d9f80ea2a7
Move metadata API from lavf to lavu.
...
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
2011-06-08 07:43:45 +02:00
Anton Khirnov
b2592ea42c
lavf: deprecate AVFormatParameters.time_base.
2011-06-06 06:46:10 +02:00
Anton Khirnov
abcedfac60
img2: add framerate private option.
2011-06-06 06:46:10 +02:00
Anton Khirnov
a915bf64cc
img2: add video_size private option.
2011-06-06 06:46:10 +02:00
Anton Khirnov
f33e2a51d9
img2: add pixel_format private option.
2011-06-06 06:46:05 +02:00
Anton Khirnov
c1dcbfddf9
tty: add framerate private option.
2011-06-06 06:32:40 +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
Anton Khirnov
b39b06233d
AVOptions: add av_opt_free convenience function.
2011-06-05 15:01:36 +02:00
Anton Khirnov
8346f60afb
tty: factorise returning error codes.
2011-06-04 19:53:45 +02:00
Anton Khirnov
e762b1ce95
rawdec: add framerate private option.
2011-06-04 19:51:43 +02:00
Anton Khirnov
ff494cbdaf
x11grab: add framerate private option.
2011-06-04 19:49:56 +02:00
Anton Khirnov
a3b15e411d
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
2011-06-04 19:48:08 +02:00
Anton Khirnov
1572484f62
bktr: don't error when AVFormatParameters.time_base isn't set.
...
There's a private option for it now.
2011-06-04 19:47:59 +02:00
Anton Khirnov
1f94c31f69
rawdec: initialize return value to 0.
2011-06-03 13:51:43 +02:00
Anton Khirnov
a606aa7570
rawdec: don't leak option strings.
2011-06-03 08:11:17 +02:00
Anton Khirnov
bd7c1d35a6
bktr: get default framerate from video standard.
2011-06-03 08:11:05 +02:00
Anton Khirnov
fefa67d536
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
2011-06-02 21:52:15 +02:00
Anton Khirnov
4078ed2631
vfwcap: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
c21324eeb6
v4l2: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
121ef2e26d
libdc1394: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
1556186a62
fbdev: add a framerate private option.
2011-06-02 21:52:12 +02:00
Anton Khirnov
3e3db4d93d
bktr: add a framerate private option.
2011-06-02 21:50:17 +02:00
Anton Khirnov
7a70e01b26
v4l2: don't leak video standard string on error.
2011-05-29 15:10:35 +02:00
Anton Khirnov and Ronald S. Bultje
b8e893399f
sws: replace all long with int.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-05-28 10:03:37 -04:00
Anton Khirnov
f91ccb1df6
lavf: deprecate AVFormatParameters.pix_fmt.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2a85f21868
rawdec: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
d576bbf3eb
v4l2: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2e0e1e712a
libdc1394: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
fa4924a358
rawdec: factor video demuxer definitions into a macro.
2011-05-27 08:31:16 +02:00
Anton Khirnov
4779f59378
rtspdec: add initial_pause private option.
...
Deprecate corresponding AVFormatParameters field.
2011-05-27 06:52:52 +02:00
Anton Khirnov
89d1b7f406
lavf: deprecate AVFormatParameters.width/height.
2011-05-27 06:52:52 +02:00
Anton Khirnov
06d8c9e5f0
tty: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
973f686a6c
rawdec: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
724a900c45
x11grab: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3102fb0351
x11grab: factorize returning error codes.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
8fe7b6443f
v4l2: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
82b5aa0add
v4l2: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00
Anton Khirnov
fd48620e3e
libdc1394: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
284bac2e77
libdc1394: return meaninful error codes.
2011-05-27 06:52:51 +02:00
Anton Khirnov
33e0369672
bktr: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
3577416212
bktr: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00
Anton Khirnov
3d96c13e43
v4l: include avdevice.h
...
Fixes build.
2011-05-26 20:44:19 +02:00
Anton Khirnov
9749cdf775
lavf: initialize demuxer private options.
2011-05-26 20:03:26 +02:00
Anton Khirnov
6c117d43c9
AVOptions: set string default values.
2011-05-26 20:03:03 +02:00
Anton Khirnov
aaea149035
lavdevice: mark v4l for removal on next major bump.
2011-05-26 19:04:02 +02:00
Anton Khirnov
2341c97e8d
libdc1394: fix compilation.
...
Add a forgotten comma and move options/class definition outside of
HAVE_LIBDC1394_1.
2011-05-26 09:23:56 +02:00
Anton Khirnov
c7a973e44a
swscale: revive SWS_CPU_CAPS until next major bump.
2011-05-26 06:50:12 +02:00
Anton Khirnov
67540af7ba
tty: replace AVFormatParameters.sample_rate abuse with a private option.
2011-05-25 16:21:25 +02:00
Anton Khirnov
2cf8355f98
ffmpeg: get rid of useless AVInputStream.nb_streams.
...
It's a duplicate of AVFormatContext.nb_streams.
2011-05-25 15:55:47 +02:00
Anton Khirnov
07633154ad
ffmpeg: simplify managing input files and streams
...
Grow the file and stream list in opt_input_file() instead of creating it
all at once in transcode(). This is simpler and will be useful for
following commits.
2011-05-25 15:55:47 +02:00
Anton Khirnov
d2bc4da15b
ffmpeg: purge redundant AVInputStream.index.
...
AVStream.index stores the same thing.
2011-05-25 15:55:47 +02:00
Anton Khirnov
d20576d01b
lavf: deprecate AVFormatParameters.channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
79405e57dc
libdc1394: add a private option for channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
986f4f4918
dv1394: add a private option for channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
3d2a418605
v4l2: reindent.
2011-05-25 15:55:47 +02:00
Anton Khirnov
a02fd06ab7
v4l2: add a private option for channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
2011-05-25 15:55:47 +02:00
Anton Khirnov
b3da269211
v4l2: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
a861ffeffa
v4l: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
eb040dbbd3
dv1394: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
e199eb44fd
bktr: add a private option for video standard.
2011-05-25 15:55:46 +02:00
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
2011-05-25 15:55:46 +02:00
Anton Khirnov
5b3865fc5f
rawdec: add sample_rate/channels private options.
2011-05-25 15:55:46 +02:00
Anton Khirnov
2ea8faf39f
ALSA: add channels and sample_rate private options.
2011-05-25 15:20:26 +02:00
Anton Khirnov
003e63b6df
oss: add channels and sample_rate private options.
2011-05-25 15:20:26 +02:00
Anton Khirnov
a1a15a9993
sndio: add channels and sample_rate private options.
2011-05-25 15:20:26 +02:00
Anton Khirnov
fb37d57347
lavf: deprecate AVFormatParameters.mpeg2ts_raw.
...
It doesn't do anything except produce an error message when set.
2011-05-25 15:20:25 +02:00
Anton Khirnov
17a5556db5
mpegts: add compute_pcr option.
...
Deprecate the corresponding AVFormatParameters field.
2011-05-25 15:20:25 +02:00
Anton Khirnov
5dc8214420
lavf: add priv_class field to AVInputFormat.
2011-05-25 15:20:25 +02:00
Anton Khirnov
b2893ee2f8
msmpeg4: reindent.
2011-05-24 12:37:51 +02:00
Anton Khirnov
57aa765971
lavc: remove msmpeg4v1 encoder.
...
The encoder has never produced files that could be decoded
with any software and there should be no reason to create
such files anyway.
2011-05-24 12:37:51 +02:00
Anton Khirnov
71cc331cab
ffmpeg: get rid of the -vglobal option.
...
It's badly documented and does the same thing as -flags global_header,
so it's redundant.
2011-05-21 21:25:58 +02:00
Anton Khirnov
29e3489602
lavf: remove duplicate assignment in avformat_alloc_context.
...
AVClass is already initialized in avformat_get_context_defaults.
2011-05-17 23:01:42 +02:00
Anton Khirnov
f0029cbcf6
lavf: use designated initializers for AVClasses.
2011-05-17 23:01:42 +02:00
Anton Khirnov
8fb566fdf8
ffmpeg: get rid of the 'q' key schizofrenia
...
SIGINT for quitting should be enough for everybody.
2011-05-13 07:38:54 +02:00
Anton Khirnov
36dc49b713
doc/APIchanges: fill in missing hashes and dates.
2011-05-11 15:48:51 +02:00
Anton Khirnov
880fa21830
flacenc: use proper initializers for AVOption default values.
...
default_val was recently changes from double to a union, current code
wasn't updated for that.
2011-05-11 15:48:51 +02:00
Anton Khirnov
c9e81d0783
lavc: deprecate named constants for deprecated antialias_algo.
2011-05-11 15:48:51 +02:00
Anton Khirnov
b66752790a
AVOptions: make default_val a union, as proposed in AVOption2.
...
This breaks API and ABI.
2011-05-10 20:22:06 +02:00
Anton Khirnov
188dea1dbf
lavc: move some flac-specific options to its private context.
2011-05-10 07:42:33 +02:00
Anton Khirnov
19615089a0
ffmpeg.c: reset avoptions after each input/output file.
...
This is consistent with how all the other options work.
2011-05-09 19:35:20 +02:00
Anton Khirnov
1435f2fa72
ffmpeg.c: store per-output stream sws flags.
2011-05-09 19:35:20 +02:00
Anton Khirnov
648e55ff1b
ffmpeg.c: check for interlaced flag in the correct place.
...
In the corresponding codec context, not global options storage.
2011-05-08 10:43:24 +02:00
Anton Khirnov
f8fec05052
mpegtsenc: make PMT PID really start on pmt_start_pid
2011-04-28 07:26:40 +02:00
Anton Khirnov
893722ceeb
APIChanges: update commit hashes for recent additions.
2011-04-26 08:51:54 +02:00
Anton Khirnov
6deae83e55
lavc: remove FF_API_MB_Q cruft
2011-04-26 08:16:06 +02:00
Anton Khirnov
694c142434
lavc: remove FF_API_RATE_EMU cruft
2011-04-26 08:16:05 +02:00
Anton Khirnov
e7021c0ed5
lavc: remove FF_API_HURRY_UP cruft
2011-04-26 08:16:05 +02:00
Anton Khirnov
65af48b559
lavc: provide deprecated avcodec_thread_init until next major version
...
It was deprecated only recently.
2011-04-21 07:22:23 +02:00
Anton Khirnov
095290f9a4
lavc: provide the opt.h header until the next bump
...
AVOptions were moved to libavutil only recently.
2011-04-21 07:14:51 +02:00
Anton Khirnov
a975dbc86b
error: change AVERROR_EOF value
...
The current value is masking the POSIX error code EPIPE, which has a
different semantics.
This breaks API.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-04-21 07:10:16 +02:00
Anton Khirnov
7dfe244fbd
sws: remove disabled cruft.
2011-04-19 21:50:12 +02:00
Anton Khirnov
975c273405
lavu: remove disabled ff_random_get_seed cruft.
2011-04-19 21:50:12 +02:00
Anton Khirnov
488d2b6349
lavu: remove disabled sha1 cruft.
2011-04-19 21:50:10 +02:00
Anton Khirnov
cda7aa9eba
lavc: remove reference to opt.h from Makefile.
...
Fixes make install after 3453a231a6 .
2011-04-19 19:50:23 +02:00