OSDN Git Service
Matthew Einhorn [Sat, 27 Aug 2011 01:49:29 +0000 (21:49 -0400)]
Removes the internal avcodec_find_best_pix_fmt1()function previously used by avcodec_find_best_pix_fmt() and not used anymore.
Signed-off-by: Matthew Einhorn <moiein2000@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Aug 2011 23:49:55 +0000 (01:49 +0200)]
vf_scale: apply the same transform to the aspect during init that is applied per frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Aug 2011 23:07:00 +0000 (01:07 +0200)]
imgconvert: make avcodec_find_best_pix_fmt2() more bug robust against future changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Matthew Einhorn [Fri, 26 Aug 2011 17:03:50 +0000 (13:03 -0400)]
Adds a new pix fmt function that selects the best dest fmt from among 2 formats to convert to, given a certain src format.
Similar to avcodec_find_best_pix_fmt(), but instead only compares two destination
pix fmts and selects one of these fmts as the best dest format when converting from
a given source format. Also, as opposed to avcodec_find_best_pix_fmt() which supports
only the first 64 defined pixel formats, this supports as input any of the defined
pixel formats.
Also replaces the old function to rely on the new function.
Signed-off-by: Matthew Einhorn <moiein2000@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Aug 2011 21:18:54 +0000 (23:18 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
fifo: add FIFO API test program, and fate test
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
postprocess.c: filter name needs to be double 0 terminated
doxygen: fix wrong comment syntax, //< vs. ///<
doxygen: drop pointless star from pointer variable names
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
xmv: eliminate superfluous zeroing of zero data
configure: fix typo in avconv dependency list
Conflicts:
configure
doc/APIchanges
libavutil/Makefile
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sat, 16 Jul 2011 07:49:42 +0000 (09:49 +0200)]
fifo: add FIFO API test program, and fate test
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Wed, 29 Jun 2011 15:30:23 +0000 (17:30 +0200)]
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
The new function provides a more generic interface than av_fifo_peek()
for peeking at a FIFO buffer data.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Piotr Kaczuba [Mon, 30 May 2011 11:19:35 +0000 (13:19 +0200)]
postprocess.c: filter name needs to be double 0 terminated
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diego Biurrun [Fri, 5 Aug 2011 11:15:04 +0000 (13:15 +0200)]
doxygen: fix wrong comment syntax, //< vs. ///<
Diego Biurrun [Mon, 8 Aug 2011 10:06:26 +0000 (12:06 +0200)]
doxygen: drop pointless star from pointer variable names
Diego Biurrun [Fri, 26 Aug 2011 15:40:07 +0000 (17:40 +0200)]
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
Marton Balint [Thu, 25 Aug 2011 20:06:40 +0000 (22:06 +0200)]
ffplay: fix a crash caused by aborting the video queue
If the video queue is aborted, we have to pop the pending ALLOC event or wait
for the allocation to complete, because the current code assumes that
VideoState->pictq_windex does not change until the allocation is complete.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Sven Hesse [Thu, 18 Aug 2011 17:03:28 +0000 (19:03 +0200)]
xmv: eliminate superfluous zeroing of zero data
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Clément Bœsch [Wed, 17 Aug 2011 18:30:18 +0000 (20:30 +0200)]
ffprobe: fix deprecated call to av_find_stream_info.
Michael Niedermayer [Fri, 26 Aug 2011 12:01:30 +0000 (14:01 +0200)]
acodec: change default bitrate to 128k
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Aug 2011 12:09:29 +0000 (14:09 +0200)]
regtests: use bitrate syntax understood by both tools
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Thu, 25 Aug 2011 19:47:47 +0000 (21:47 +0200)]
configure: fix typo in avconv dependency list
Michael Niedermayer [Thu, 25 Aug 2011 23:29:40 +0000 (01:29 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
vp6: partially propagate huffman tree building errors during coeff model parsing and fix misspelling
mpeg12: propagate chunk decode errors and fix conditional indentation
vc1: fix VC-1 Pulldown handling.
VC1: Fix first/last row checks with slices
mp4: Handle non-trivial ES Descriptors.
vc1: properly zero coded_block[] edges on new slice entry.
Conflicts:
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Dustin Brody [Tue, 16 Aug 2011 20:46:34 +0000 (16:46 -0400)]
vp6: partially propagate huffman tree building errors during coeff model parsing and fix misspelling
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Dustin Brody [Tue, 16 Aug 2011 15:35:04 +0000 (11:35 -0400)]
mpeg12: propagate chunk decode errors and fix conditional indentation
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Michael Niedermayer [Thu, 25 Aug 2011 19:43:30 +0000 (21:43 +0200)]
udp: fix circular buffer error handling
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
John Stebbins [Thu, 25 Aug 2011 19:36:13 +0000 (12:36 -0700)]
vc1: fix VC-1 Pulldown handling.
Pulldown flags are being set incorrectly and AVFrame->repeat_pict is not
being set. Also, skipped frames exit header parsing too early and do not
set pulldown flags appropriately. Ticks_per_frame needs to be set and
time_base adjusted so player can extend frame duration by a field time.
This fixes problems encountered when attempting to transcode HD-DVD EVOB
files with HandBrake. Also makes these files play smoothly in avplay.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Alberto Delmás [Thu, 25 Aug 2011 09:00:37 +0000 (11:00 +0200)]
VC1: Fix first/last row checks with slices
In some places 0/mb_height were used in place of start_mb_y/end_mb_y.
Fixes SA00049, SA00058, SA10091, SA10097, SA10131, SA20021, SA30030
Improves PSNR in SA00054, SA00059, SA00060, SA10096, SA10098, SA20022,
SA30031, SA30032, SA40012, SA40013
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Michael Niedermayer [Thu, 25 Aug 2011 19:33:54 +0000 (21:33 +0200)]
udp: buffer datagrams in circular buffer instead of a bytestream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Alex Converse [Wed, 24 Aug 2011 23:59:30 +0000 (16:59 -0700)]
mp4: Handle non-trivial ES Descriptors.
Michael Niedermayer [Thu, 25 Aug 2011 11:54:43 +0000 (13:54 +0200)]
sws: use shift for chroma sample up convertion
sws: use shifts for non full range luma sample upconvertion
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Ronald S. Bultje [Wed, 24 Aug 2011 21:36:16 +0000 (14:36 -0700)]
vc1: properly zero coded_block[] edges on new slice entry.
Previously, we would leave the left edge uninitialized, which led to
CBP prediction errors on slice edges, e.g. in SA10098.vc1.
Marton Balint [Mon, 22 Aug 2011 20:26:53 +0000 (22:26 +0200)]
ffplay: use lock manager callback to make libavcodec thread-safe
Altough ffplay is working pretty well without using a lock manager, it is still
a multithreaded application calling libavcodec functions from multiple threads,
so using a lock manager is probably a good idea.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Aug 2011 21:20:09 +0000 (23:20 +0200)]
oggdec: subtract time of first packet only from duration when it is significant
this fixes accuracy with normal ogg files while keeping support for ogg files
starting at times different from 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Aug 2011 21:13:57 +0000 (23:13 +0200)]
oggdec: Make sure start time correction is applied once to each stream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Aug 2011 18:26:48 +0000 (20:26 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
avconv: Replace goto redo on decode fail with continue.
avconv: Remove dead store.
libx264: add 'crf_max' private option.
libx264: add 'weightp' private option.
libx264: add 'rc_lookahead' private option.
libx264: add 'psy_trellis' private option.
libx264: add 'psy_rd' private option.
libx264: add 'aq_strength' private option.
libx264: add 'aq_mode' private option.
libx264: add 'cqp' private option.
libx264: add 'crf' private option.
lavc: remove vbv_delay option
lavf utils: Fix bad indentation.
avconv: use av_clip_int16 for audio clipping
Conflicts:
libavcodec/libx264.c
libavcodec/options.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Alex Converse [Tue, 23 Aug 2011 20:47:31 +0000 (13:47 -0700)]
avconv: Replace goto redo on decode fail with continue.
This checks for sigterm but otherwise is identical to the previous
behavior.
Alex Converse [Tue, 23 Aug 2011 21:30:11 +0000 (14:30 -0700)]
avconv: Remove dead store.
Michael Niedermayer [Wed, 24 Aug 2011 16:26:16 +0000 (18:26 +0200)]
h264-422: fix fate to handle 10 bit formats on big endian correctly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Aug 2011 15:57:40 +0000 (17:57 +0200)]
h264: Try to fix 422 intra NEON
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'crf_max' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'weightp' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'rc_lookahead' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'psy_trellis' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'psy_rd' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'aq_strength' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'aq_mode' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'cqp' private option.
Deprecate corresponding global option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'crf' private option.
Deprecate corresponding global option.
Ideally all x264 private options should be generated automatically, but
x264 doesn't provide the API for this yet.
Anton Khirnov [Tue, 23 Aug 2011 15:28:33 +0000 (17:28 +0200)]
lavc: remove vbv_delay option
It's broken and serves no purpose as it's a read-only field.
Carl Eugen Hoyos [Tue, 23 Aug 2011 18:38:43 +0000 (20:38 +0200)]
Support decoding of 2bpp and 4bpp TIFF images.
Based on patches by Kostya and ami_stuff.
Alex Converse [Tue, 23 Aug 2011 01:47:24 +0000 (18:47 -0700)]
lavf utils: Fix bad indentation.
Alex Converse [Mon, 22 Aug 2011 17:38:35 +0000 (10:38 -0700)]
avconv: use av_clip_int16 for audio clipping
Michael Niedermayer [Tue, 23 Aug 2011 16:26:37 +0000 (18:26 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
avconv: print the codecs names in the stream mapping.
avconv: move the avcodec_find_decoder() call to add_input_streams().
Windows Media Image decoder (WMVP/WVP2)
ac3enc: remove outdated TODO comment for apply_channel_coupling()
Conflicts:
Changelog
libavcodec/avcodec.h
libavcodec/vc1dec.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Sat, 20 Aug 2011 10:40:26 +0000 (12:40 +0200)]
avconv: print the codecs names in the stream mapping.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Mon, 22 Aug 2011 10:48:06 +0000 (12:48 +0200)]
avconv: move the avcodec_find_decoder() call to add_input_streams().
This makes the code simpler to understand, though it results in an
unnecessary call to avcodec_find_decoder() if the stream won't be
decoded.
Stefano Sabatini [Thu, 18 Aug 2011 15:10:11 +0000 (17:10 +0200)]
lavfi: rename vsrc_movie.c to src_movie.c
The file is going to contain the amovie source, so give it a less
specific name.
Stefano Sabatini [Mon, 22 Aug 2011 12:56:23 +0000 (14:56 +0200)]
lavfi: add ff_parse_pixel_format() internal function, and use it
Reduce code duplication.
Baptiste Coudurier [Sun, 14 Aug 2011 22:43:19 +0000 (00:43 +0200)]
fate: add h264 intra 4:2:2 tests
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Tue, 23 Aug 2011 09:25:40 +0000 (11:25 +0200)]
Fix compilation with --disable-avfilter.
Fixes ticket #414.
Alberto Delmás [Wed, 17 Aug 2011 12:24:42 +0000 (14:24 +0200)]
Windows Media Image decoder (WMVP/WVP2)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Carl Eugen Hoyos [Tue, 23 Aug 2011 07:16:39 +0000 (09:16 +0200)]
Make strtok_r a dependency of abuffer / fix typo.
Fix ticket 413.
Michael Niedermayer [Tue, 23 Aug 2011 02:28:44 +0000 (04:28 +0200)]
developer.texi: Suggest a git clone if the patch review process doesnt work out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Aug 2011 02:12:34 +0000 (04:12 +0200)]
developer.texi: add Contributing section
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Aug 2011 01:02:25 +0000 (03:02 +0200)]
developer.texi: Simplify "Regression tests section"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Aug 2011 00:58:45 +0000 (02:58 +0200)]
developer.texi: remove reference to non existing target fulltest
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Mon, 22 Aug 2011 18:12:50 +0000 (20:12 +0200)]
codec_names: remove spaces in sed command.
Justin Ruggles [Mon, 22 Aug 2011 16:14:57 +0000 (12:14 -0400)]
ac3enc: remove outdated TODO comment for apply_channel_coupling()
Carl Eugen Hoyos [Mon, 22 Aug 2011 14:58:35 +0000 (16:58 +0200)]
Be more verbose about H264 cropping errors.
Michael Niedermayer [Mon, 22 Aug 2011 12:06:08 +0000 (14:06 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
libx264: only use ABR mode when the user explicitly set bitrate.
libx264: use medium preset by default.
mp2 encoder: make 128k the default bitrate.
movenc: use libx264 by default when possible for mov, mp4 and psp
avienc: saner default audio codec.
matroskaenc: saner default codecs.
avplay: add examples of how to specify size/pixel format through private options
lavc: add A|E|D flags to "ac" and "ar" options
Conflicts:
doc/ffplay.texi
libavcodec/libx264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Tue, 16 Aug 2011 11:29:47 +0000 (13:29 +0200)]
lavf: warn when a parser is needed and not found.
Nicolas George [Wed, 17 Aug 2011 14:17:47 +0000 (16:17 +0200)]
rtpenc: use avcodec_get_name to report unsupported codecs.
Nicolas George [Wed, 17 Aug 2011 14:17:30 +0000 (16:17 +0200)]
flvenc: use avcodec_get_name to report unsupported codecs.
Nicolas George [Wed, 17 Aug 2011 13:46:15 +0000 (15:46 +0200)]
ffmpeg: use avcodec_get_name to report missing en/decoders.
Nicolas George [Wed, 17 Aug 2011 13:40:30 +0000 (15:40 +0200)]
lavc: use av_get_media_type_string and avcodec_get_name in avcodec_string.
Nicolas George [Wed, 17 Aug 2011 11:54:49 +0000 (13:54 +0200)]
lavc: add a table of all codecs names.
The table is automatically generated from the definition of enum CodecID in
avcodec.h and contains the name of all known codecs, even those for which no
encoder nor decoder exists or is enabled.
The table is queried using the avcodec_get_name function.
If CONFIG_SMALL is true, the table is not compiled in; the avcodec_get_name
looks for names in the list of available decoders and encoders.
Nicolas George [Sat, 20 Aug 2011 10:40:26 +0000 (12:40 +0200)]
ffmpeg: print the codecs names in the stream mapping.
Stefano Sabatini [Thu, 18 Aug 2011 10:53:18 +0000 (12:53 +0200)]
vsrc_movie: rename video movie specific callbacks, prefix them with "movie"
Stefano Sabatini [Thu, 18 Aug 2011 12:58:47 +0000 (14:58 +0200)]
asink_abuffer: extend ABufferSinkContext to make it accept lists of formats in input
This is required for the pending lavfi indev extension, also
consistent with the video buffer sink.
Stefano Sabatini [Thu, 18 Aug 2011 10:36:39 +0000 (12:36 +0200)]
vsrc_movie: create media agnostic movie init and uninit routines
Allow factorization for the pending work on the audio movie source.
Stefano Sabatini [Tue, 16 Aug 2011 14:54:04 +0000 (16:54 +0200)]
af_aformat: use evil ADD_FORMATS macro for cutting out duplicated code
Nicolas George [Tue, 16 Aug 2011 13:49:17 +0000 (15:49 +0200)]
ffmpeg: ignore forward gaps for subtitles streams.
Carl Eugen Hoyos [Mon, 22 Aug 2011 07:35:58 +0000 (09:35 +0200)]
Support more codecs when muxing caf.
Anton Khirnov [Sat, 20 Aug 2011 14:59:47 +0000 (16:59 +0200)]
libx264: only use ABR mode when the user explicitly set bitrate.
Anton Khirnov [Sat, 20 Aug 2011 14:47:36 +0000 (16:47 +0200)]
libx264: use medium preset by default.
Anton Khirnov [Sat, 20 Aug 2011 14:20:27 +0000 (16:20 +0200)]
mp2 encoder: make 128k the default bitrate.
Anton Khirnov [Sat, 20 Aug 2011 14:14:58 +0000 (16:14 +0200)]
movenc: use libx264 by default when possible for mov, mp4 and psp
Anton Khirnov [Sat, 20 Aug 2011 14:05:17 +0000 (16:05 +0200)]
avienc: saner default audio codec.
libmp3lame if available, ac3 otherwise.
Anton Khirnov [Sat, 20 Aug 2011 14:02:22 +0000 (16:02 +0200)]
matroskaenc: saner default codecs.
libvorbis/libx264 for video if available, otherwise ac3/mpeg4.
Stefano Sabatini [Sun, 21 Aug 2011 14:20:37 +0000 (16:20 +0200)]
avplay: add examples of how to specify size/pixel format through private options
Clarify with an example what the user should use instead of the
deprecated (and no longer working) -s/-pix_fmt options.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Marton Balint [Sun, 21 Aug 2011 13:06:10 +0000 (15:06 +0200)]
ffplay: remove unnecessary if (cur_stream) checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Marton Balint [Sun, 21 Aug 2011 13:06:09 +0000 (15:06 +0200)]
ffplay: get rid of the global cur_stream variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Marton Balint [Sun, 21 Aug 2011 13:06:08 +0000 (15:06 +0200)]
ffplay: make step variable a member of the VideoState struct
Getting rid of globals are generally a good thing. The patch also makes
toggle_pause and step_to_next_frame use a function parameter instead of
the global cur_stream variable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Matthew Einhorn [Sun, 21 Aug 2011 17:18:30 +0000 (13:18 -0400)]
Updates avcodec_get_pix_fmt_loss to return maximum loss for an invalid destination pixel format.
Signed-off-by: Matthew Einhorn <moiein2000@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reimar Döffinger [Sat, 20 Aug 2011 11:13:01 +0000 (13:13 +0200)]
roqvideodec: Improve checking of input buffer bounds.
Fixes trac issue #408.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Stefano Sabatini [Sun, 17 Jul 2011 13:28:42 +0000 (13:28 +0000)]
lavc: add A|E|D flags to "ac" and "ar" options
Fix setting of the corresponding AVCodecContext fields via
cmdutils.c:filter_codec_opts().
In particular, fix ffplay -ac and -ar options.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Sun, 21 Aug 2011 13:27:02 +0000 (15:27 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
WavPack demuxer: do not rely on index when timestamp is not in indexed range.
WavPack demuxer: store position of the first block in index.
WavPack decoder: implement flush function
avconv: Separate initialization from the main transcode loop.
Conflicts:
avconv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sun, 21 Aug 2011 13:12:40 +0000 (15:12 +0200)]
vsrc_testsrc: allow to set the sample aspect ratio
Add the sar option. Useful for debugging/testing purposes.
Stefano Sabatini [Sun, 21 Aug 2011 13:09:17 +0000 (15:09 +0200)]
lavdev/lavfi: set sample aspect ratio in the output stream/codec context
Carl Eugen Hoyos [Sun, 21 Aug 2011 12:52:48 +0000 (14:52 +0200)]
Stream-copying PureVoice into caf works fine.
Kostya Shishkov [Sat, 20 Aug 2011 11:11:14 +0000 (13:11 +0200)]
WavPack demuxer: do not rely on index when timestamp is not in indexed range.
This fixes the situation when there are not enough entries in the index
(e.g. on initial seek there's only one index entry in the index) and index
search returns just the last known entry. That causes seeking function just to
seek there instead of trying harder to get at the requested position.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Kostya Shishkov [Sat, 20 Aug 2011 16:14:58 +0000 (18:14 +0200)]
WavPack demuxer: store position of the first block in index.
Currently for multichannel audio position for the last block position is
stored in index (and used for seeking), which is obviously not correct.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Kostya Shishkov [Sat, 20 Aug 2011 16:14:44 +0000 (18:14 +0200)]
WavPack decoder: implement flush function
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Stefano Sabatini [Sun, 21 Aug 2011 09:38:30 +0000 (11:38 +0200)]
asrc_abuffer: pass non-const string to strtok_r in init()
Fix GCC warning:
asrc_abuffer.c: In function ‘init’:
asrc_abuffer.c:258: warning: passing argument 1 of ‘strtok_r’ discards qualifiers from pointer target type
Mina Nagy Zaki [Mon, 1 Aug 2011 08:33:26 +0000 (11:33 +0300)]
lavfi: add asrc_abuffer - audio buffer source
Originally based on code by Stefano Sabatini and S. N. Hemanth.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>