summaryrefslogtreecommitdiff
path: root/ffplay.c
Commit message (Collapse)AuthorAge
* ffplay: add braces around union definitionStefano Sabatini2011-03-19
| | | | | | | Fix warning: ffplay.c: At top level: ffplay.c:3027: warning: missing braces around initializer ffplay.c:3027: warning: (near initialization for ‘options[53].u’)
* ffplay: add existence check on ic->pb in decode_thread()Stefano Sabatini2011-03-19
| | | | | Fix crash if ic->pb is NULL and ic->pb->error is evaluated. This happens for example with: ffplay photo.jpeg.
* Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-15
|\ | | | | | | Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avio: deprecate url_ferrorAnton Khirnov2011-03-15
| | | | | | | | | | | | AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | | | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * lavf: add av_ prefix to dump_format()Anton Khirnov2011-02-16
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | | | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
| * 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>
| * Deprecate avcodec_thread_init()Alexander Strange2011-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Frame-based multithreading framework using pthreadsAlexander Strange2011-02-09
| | | | | | | | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * Adopt pkt_dts/pkt_pts in lavc clientsAlexander Strange2011-02-05
| | | | | | | | | | | | No behavior change; this makes DTS reliable with the next patch. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-04
| | | | | | | | | | | | | | | | | | | | 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>
| * ffplay: factorize code from video_thread() into configure_video_filters()Stefano Sabatini2011-02-02
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.Stefano Sabatini2011-01-30
| | | | | | | | | | | | AVCodecContext.reordered_opaque is deprecated for this specific use. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ffplay: in video_thread(), use av_dlog() for timestamp logging.Stefano Sabatini2011-01-30
| | | | | | | | | | | | | | 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>
| * Remove outdated and confusing comment.Stefano Sabatini2011-01-22
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | ffplay: Continue if the file was appended to.Michael Niedermayer2011-03-10
| | | | | | | | | | | | This is a bit experimental Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add a dummy option -i to ffplay so that it is easy to switch between ffmpeg ↵Benjamin Larsson2011-03-08
| | | | | | | | | | | | -i "file" and ffplay -i "file". Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-08
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)
* | avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-05
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
* | lavf: add av_ prefix to dump_format()Anton Khirnov2011-02-18
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 610219a598095f938705f200dfe3946455ef871a)
* | 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