summaryrefslogtreecommitdiff
path: root/avplay.c
Commit message (Collapse)AuthorAge
* avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* avformat: Always return ref-counted AVPacketLuca Barbato2015-10-26
| | | | And drop the av_dup_packet from the input_thread.
* avplay: Replace avpicture functions with imgutilsVittorio Giovara2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add data and linesize to AVSubtitleRectVittorio Giovara2015-10-21
| | | | | | | | | | | | Use the new fields directly instead of the ones from AVPicture. This removes a layer of indirection which serves no pratical purpose whatsoever, and will help in removing AVPicture structure completely later. Every subtitle encoder/decoder seamlessly points to the new arrays, so it is possible to deprecate AVSubtitleRect.pict. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avplay: Add support for rotated videoMartin Storsjö2015-05-02
| | | | | | | | | This is enabled by default, but can be disbled via the -noautorotate option. Based on a patch by Clément Bœsch. Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Factorize code for adding filters to the filter pipelineMartin Storsjö2015-05-02
| | | | | | Significantly based on a patch by Clément Bœsch. Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Do not print a possibly uninitialized valueLuca Barbato2015-04-30
| | | | | | Initialize `diff` to 0. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Free frame and graph when memory allocation failsFederico Tomassetti2015-04-19
| | | | | Bug-Id: CID 1291564 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Replace av_dlog with normal av_log at trace levelVittorio Giovara2015-04-19
| | | | This applies to every library where performance is not critical.
* avplay: Check memory allocationFederico Tomassetti2015-03-21
| | | | | | Bug-Id: CID 1288294 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Check format allocation inside decode_thread()Vittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265718
* avplay: Check frame allocation inside video_thread()Vittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1267893
* avplay: Use av_gettime_relativeMartin Storsjö2014-10-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Always free optsLuca Barbato2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 733793
* avplay: Always free find_stream_info optionsLuca Barbato2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238794
* avplay: Exit by default at the end of playbackDiego Biurrun2014-09-06
| | | | | | This is the expected behavior shared by all other cli multimedia players. Bug-Id: 732
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avplay: Handle pixel aspect ratio properlyMartin Storsjö2014-07-08
| | | | | | | This was broken (left half-implemented) in 354468fc12. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: add support for seeking to chapter marksAnton Khirnov2014-02-10
|
* avplay: do not call avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | avcodec_decode_audio4() will reset the frame itself.
* Replace all uses of avcodec_free_frame with av_frame_free().Anton Khirnov2013-12-11
|
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* avplay: drop -vismv option which does not do anything anymoreAnton Khirnov2013-10-31
|
* miscellaneous typo fixesDiego Biurrun2013-07-25
|
* avplay: remove a warningLuca Barbato2013-04-27
| | | | | | Set the data field in the flush_pkt to the pointer to the actual packet. The field needs to contain a valid unique pointer, no read nor writes are ever made to it.
* lavfi: change the filter registering system to match the other librariesAnton Khirnov2013-04-11
| | | | Removes an arbitrary hardcoded limit on the number of filters.
* lavfi: merge avfiltergraph.h into avfilter.hAnton Khirnov2013-04-11
| | | | | We do not support using filters without AVFilterGraph in practice anyway, so there is no point in pretending we do.
* avplay: remove the -debug option.Anton Khirnov2013-03-19
| | | | | It just shadows the corresponding AVOption and prevents using named constants.
* avplay: enable only when SDL 1.2 is foundVittorio Giovara2013-03-09
| | | | | | SDL 2 is API incompatible. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: switch to new refcounted frames APIAnton Khirnov2013-03-08
| | | | Remove now unused cmdutils get_buffer() implementation.
* avplay: apply the stream sample_aspect_ratio to decoded video framesVladimir Pantelic2013-02-09
| | | | | | | | | If there is a sample_aspect_ratio in the stream, then apply it to every decoded frame in the same way as avconv does. This also makes sure that the avfilter chain has access to the aspect ratio. Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avplay: Do not use removed av_get_int()Anton Khirnov2012-11-29
| | | | | | Fixes build with lavfi disabled. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avplay: support mid-stream sample rate changesJustin Ruggles2012-10-13
| | | | Resample to the rate that was configured in SDL.
* avplay: use audio parameters from the decoded frame instead of AVCodecContextJustin Ruggles2012-10-13
|
* De-doxygenize some top-level filesDiego Biurrun2012-10-12
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* lavr: change the type of the data buffers to uint8_t**.Anton Khirnov2012-10-05
| | | | | | This is more consistent with what the rest of Libav does. This breaks API.
* Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò2012-10-01
|
* Use avcodec_free_frame() to free AVFrames.Anton Khirnov2012-09-24
|
* avplay: get rid of ugly casts in the options tableAnton Khirnov2012-09-11
|
* avplay: fix prototypes for option callbacks.Anton Khirnov2012-09-11
| | | | They have been wrong since 11d957fbd81288e64408e79ed369446346000b29
* avconv: split printing "main options" into global and per-file.Anton Khirnov2012-08-19
|
* cmdutils: extend -h to allow printing codec details.Anton Khirnov2012-08-19
|
* cmdutils: change semantics of show_help_options() and document it.Anton Khirnov2012-08-19
| | | | | | | | Currently it takes a mask and value, such that options for which (flags & mask) == value. Change it to take required flags and forbidden flags instead. This is shorter and simpler to understand.
* avtools: move some newlines to show_help_options().Anton Khirnov2012-08-19
| | | | Don't require every caller to supply them.
* avtools: fix show_foo() signatures.Anton Khirnov2012-08-19
| | | | | show_foo() functions are declared as void show_foo(void), but called as int show_foo(const char*, const char*).
* avplay: fix build with lavfi disabled.Konstantin Pavlov2012-08-08
| | | | | | Issue introduced in 67339f6e. Signed-off-by: Anton Khirnov <anton@khirnov.net>