summaryrefslogtreecommitdiff
path: root/ffplay.c
Commit message (Collapse)AuthorAge
* Merge libavcore into libavutilReinhard Tartler2011-02-16
| | | | Done to keep ABI compatible. Otherwise this is just silly
* Remove disabled legacy code in ffplay.Stefano Sabatini2011-02-14
| | | | | | | | | | | | | The code was setting aspect ratio from the DTG active format, and was present and disabled since the creation of ffplay. See thread: Subject: [FFmpeg-devel] [PATCH] Cosmetics: adopt compact notation in disabled code. Date: Sat, 12 Feb 2011 18:46:19 +0100 Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit b7ec5cc4013242a9f30c429d2ce9c20ec01b03eb)
* ffplay: stats: do not dereference NULL videoNicolas George2011-02-11
| | | | Also: cosmetic: split this overly long line
* Deprecate avcodec_thread_init()Alexander Strange2011-02-11
| | | | | | | | | | | | | | | As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c0b102ca03fe92250f1ce620aec3836f529fc1d6)
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-11
| | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Implement guessed_pts in avcodec_decode_video2Nicolas George2011-02-07
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Adopt pkt_dts/pkt_pts in lavc clientsAlexander Strange2011-02-06
| | | | | | | No behavior change; this makes DTS reliable with the next patch. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b474953975fd8ea64d1ed4d09c42b2d8e787c6f)
* Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-06
| | | | | | | | | | | Make avfilter_graph_free() free not only the internal structures, but also the allocated graph, and set the graph pointer to NULL for increased safety. Simplify usage. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 4359288c565705d1734f63d277f8918ee5af5e54)
* ffplay: factorize code from video_thread() into configure_video_filters()Stefano Sabatini2011-02-04
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 75ea596de1145878a7603d5a3f269a9aac9ae30e)
* In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.Stefano Sabatini2011-01-31
| | | | | | | AVCodecContext.reordered_opaque is deprecated for this specific use. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 2855080447a226aba7e88e943fd8a8779d6daa98)
* ffplay: in video_thread(), use av_dlog() for timestamp logging.Stefano Sabatini2011-01-31
| | | | | | | | Disable logging of rescaled timestamps if DEBUG is not enabled. Avoid debug log spamming with -loglevel debug. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 13156f40e1f17ec1d0c57e6bf7a2850f673600c0)
* Remove outdated and confusing comment.Stefano Sabatini2011-01-23
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit db2ddd38859b26c0a4e4bf92619625cd7e0e7f42)
* Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().Stefano Sabatini2011-01-17
|
* Remove outcommented fossil code.Stefano Sabatini2011-01-17
|
* Fix weird indent in get_video_frame().Stefano Sabatini2011-01-16
| | | | Originally committed as revision 26390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after the last commit.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ffplay, do not open display if -nodisp is set.Stefano Sabatini2011-01-15
| | | | | | Fixes issue 1017. Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: fix weird indent.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26350 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.ptsMichael Niedermayer2011-01-07
| | | | Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ffplay -an/-vn options that were swapped by r26105.Nicolas George2010-12-28
| | | | Originally committed as revision 26115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support filters and decoders that dont support negative linesizes.Michael Niedermayer2010-12-27
| | | | | | This patch is based on work by stefano. Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_find_best_stream in ffplay.Nicolas George2010-12-27
| | | | Originally committed as revision 26105 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add avfilter_graph_create_filter().Stefano Sabatini2010-12-02
| | | | Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove graphparser.h header, move AVFilterInOut andStefano Sabatini2010-11-07
| | | | | | | | avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h. Simplify, and less confusing for the user. Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterInOut field filter to filter_ctx, more semantically correct.Stefano Sabatini2010-11-07
| | | | Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_graph_destroy() to avfilter_graph_free().Stefano Sabatini2010-11-04
| | | | | | | | The new name is shorter and more consistent with the rest of the API. This change breaks libavfilter API/ABI. Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_graph_alloc().Stefano Sabatini2010-11-04
| | | | Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove usage of deprecated libavcodec/audioconvert.h functions.Stefano Sabatini2010-11-03
| | | | Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a common get_filtered_video_frame(), shared between ffplay.cStefano Sabatini2010-10-18
| | | | | | and ffmpeg.c. Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add avfilter_graph_config().Stefano Sabatini2010-10-16
| | | | Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize definition of the output_filter defined in both ffplay.c andStefano Sabatini2010-10-12
| | | | | | | ffmpeg.c. Replace it with a more generic definition which can be shared. Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix timebase handling at the begin and at the end of the ffplay videoStefano Sabatini2010-10-12
| | | | | | | | | filterchain. Set timebase in the ffplay input, and make get_filtered_video_frame() rescale the output frames PTSes according to their timebase. Originally committed as revision 25450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not pass an unused variable when initing filt_out. Less confusing.Stefano Sabatini2010-10-12
| | | | Originally committed as revision 25448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ffplay to keep calling av_read_frame even if EOF has been reached.Michael Chinen2010-10-09
| | | | | | Patch by Michael Chinen, mchinen gmail Originally committed as revision 25426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add init and uninit functions to cmdutils, reduces code duplicationReimar Döffinger2010-10-02
| | | | | | | between ffmpeg and ffplay and avoids a valgrind error by freeing avformat_opts->key. Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* User application side of Codec specific parameters.Michael Niedermayer2010-09-29
| | | | Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extract timestamp correction code from ffplay.c to cmdutils.cAlexander Strange2010-09-28
| | | | Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.Michael Niedermayer2010-09-24
| | | | Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ffplay -h show the settable AVOptions.Stefano Sabatini2010-09-24
| | | | Originally committed as revision 25167 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_picture_data_copy() to libavcore, and rename itStefano Sabatini2010-09-07
| | | | | | av_image_copy(). Originally committed as revision 25067 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add _XOPEN_SOURCE definition for usleep().Dave Yeo2010-08-23
| | | | | | patch by Dave Yeo, daveryeo telus net Originally committed as revision 24893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mention lowres if SDL can't provide the needed resolution.Carl Eugen Hoyos2010-08-17
| | | | Originally committed as revision 24802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix SDL crash on specific hardware.Mike Scheutzow2010-08-17
| | | | | | Patch by Mike Scheutzow, mjs973 optonline net Originally committed as revision 24801 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move do_exit() up for upcoming patch.Mike Scheutzow2010-08-17
| | | | | | Patch by Mike Scheutzow, mjs973 optonline net Originally committed as revision 24800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Resize data and linesize in AVFilterBufferRef to 8.S.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | This is required to make AVFilterBufferRef able to contain also audio data, required by audio filtering integration. Patch by S.N. Hemanth Meenakshisundaram smeen?ks@ucsd.ed?. Originally committed as revision 24773 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change avfilter_open() signature, from:Stefano Sabatini2010-08-11
| | | | | | | | | | | AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name); to: int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name); This way it is possible to propagate an error code telling the reason of the failure. Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate video specific BufferRef properties into VideoProps.S.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | | | | Define a new struct AVFilterBufferRefVideoProps and add a type field to AVFilterBufferRef. Video specific properties in AVFilterBufferRefVideoProps are now referred to by *video pointer in AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu. Originally committed as revision 24763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | | | AVFilterLink.srcpic -> AVFilterLink.src_buf AVFilterLink.cur_pic -> AVFilterLink.cur_buf AVFilterLink.outpic -> AVFilterLink.out_buf The new names are more generic and more consistent, since the struct they contain, which was named AVFilterPicRef, has been renamed to AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%. Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk