summaryrefslogtreecommitdiffstats
path: root/avplay.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop unnecessary prefix from *sink* variable and struct names.Diego Biurrun2012-01-251-3/+3
|
* avplay: remove the -er option.Anton Khirnov2012-01-241-3/+0
| | | | Error recognition flags can and should be set directly with AVOptions.
* threads: change the default for threads back to 1Janne Grunau2012-01-211-0/+2
| | | | | | Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
* cosmetics: Rename ffsink to avsink.Diego Biurrun2012-01-191-3/+3
|
* Fix a bunch of platform name and other typos.Diego Biurrun2012-01-111-1/+1
|
* avplay: Don't call avio_set_interrupt_cb(NULL)Martin Storsjö2012-01-041-1/+0
| | | | | | | | | Since we don't use avio_set_interrupt_cb for interrupt callbacks, we don't need to call it to reset the interrupt cb either. This avoids a warning about use of deprecated functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: K&R cleanupAneesh Dogra2012-01-011-271/+275
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Drop unnecessary parentheses around return values.Diego Biurrun2011-12-301-1/+1
|
* lavfi: add avfilter_copy_frame_props()Stefano Sabatini2011-12-251-2/+2
| | | | | avfilter_copy_frame_props() avoids code duplication and increases robustness.
* lavc: add a sample_aspect_ratio field to AVFrameStefano Sabatini2011-12-251-1/+1
| | | | | | | The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.
* avplay: clear pkt_temp when pkt is freed.Michael Niedermayer2011-12-191-0/+1
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avcodec: deprecate AVFrame.ageMans Rullgard2011-12-181-1/+0
| | | | | | | | This was intended as an optimisation for skipped blocks in MPEG2 P-frames and never used elsewhere. Removing this "optimisation" speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9). Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-121-2/+1
|
* avplay: don't request a stereo downmixJustin Ruggles2011-12-111-9/+0
| | | | Multi-channel output works just fine for me with SDL 1.2.14.
* avplay: use avcodec_decode_audio4()Justin Ruggles2011-12-041-16/+27
|
* avplay: use a separate buffer for playing silenceJustin Ruggles2011-12-041-3/+3
|
* avplay: Set the new interrupt callbackMartin Storsjö2011-11-181-2/+3
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avplay: reset rdft when closing stream.Justin Ruggles2011-11-081-0/+2
| | | | | this fixes a crash when cycling audio streams if the spectrograph is displayed.
* Call avformat_network_init/deinit in the programsMartin Storsjö2011-11-061-0/+2
| | | | | | | | | Calling the init function will become mandatory at some later point. By calling it, more heavy network init (such as SSL/TLS library init) can be done once at startup, instead of implicitly when used (which could lead to it being done a number of times). Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace outdated references to ffmpeg tool with avconv.Diego Biurrun2011-11-021-1/+1
|
* avplay: fix fullscreen behaviour with SDL 1.2.14 on Mac OS XMarton Balint2011-10-221-2/+10
| | | | The blue channel went missing when toggling fullscreen on Mac OS X.
* macosx: use the default surface on newer sdlLuca Barbato2011-10-171-4/+4
| | | | | SDL 1.2.14 works fine with default colorspace on macosx and seems to have some issues with 24bit surfaces and resize in addition.
* avplay: free the active audio packet at exit.Justin Ruggles2011-10-121-0/+1
| | | | fixes a memleak
* avplay: free rdft data used for spectrogram analysis.Justin Ruggles2011-10-121-0/+5
| | | | fixes a memleak
* cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()Anton Khirnov2011-10-121-12/+3
|
* avtools: parse loglevel before all the other options.Anton Khirnov2011-09-261-0/+1
| | | | | This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
* avplay: flush audio decoder with empty packets at EOF if the decoder hasJustin Ruggles2011-09-221-6/+23
| | | | CODEC_CAP_DELAY set.
* cmdutils: add support for caller-provided option context.Anton Khirnov2011-09-041-2/+2
| | | | This is the first step to removing the globals plague from avtools.
* cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov2011-09-041-0/+5
| | | | Allows cmdutils to call each tool's own cleanup function.
* cmdutils: get rid of dummy contexts for examining AVOptions.Anton Khirnov2011-09-031-3/+7
| | | | Replace it with newly introduced libavutil API.
* avtools: reinitialise filter chain when input video stream changes dimensionsKostya2011-08-151-0/+14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: allow precisely specifying a stream for AVOptions.Anton Khirnov2011-08-121-1/+1
|
* Rename ffplay to avplay.Anton Khirnov2011-08-091-0/+3071
OpenPOWER on IntegriCloud