Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-09Rename ffplay to avplay.Anton Khirnov
2011-07-28cmdutils: add codec_opts parameter to setup_find_stream_info_opts()Stefano Sabatini
Avoid brittle and obfuscating reference to a global. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-17ffplay: warn that -pix_fmt is no longer working, suggest alternativeStefano Sabatini
Also remove now unused variable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-17ffplay: warn that -s is no longer working, suggest alternativeStefano Sabatini
Also remove now unused variables. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-14ffplay: use new avcodec_open2 and avformat_find_stream_info API.Anton Khirnov
2011-07-13Replace some gotos that lead to single return statements by direct return.Diego Biurrun
2011-07-12ffplay: skip return value of avcodec_decode_video2 / avcodec_decode_subtitle2Diego Biurrun
This fixes some warnings about unused-but-set variables.
2011-07-04Do not include mathematics.h in avutil.hMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-26Move some variable declarations below the proper #ifdefs.Diego Biurrun
This avoids warnings about set-but-unused variables.
2011-06-25ffplay: Remove unused-but-set channels variable from update_sample_display().Diego Biurrun
2011-06-21Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles
av_get_bits_per_sample_fmt() is deprecated.
2011-06-16ffplay: use new avformat_open_* API.Anton Khirnov
2011-06-08ffplay: Fix non-compiling debug printf and replace it by av_dlog.Diego Biurrun
2011-06-07Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.Diego Biurrun
2011-05-28cmdutils: remove OPT_FUNC2Stefano Sabatini
Make ff* tools only accept opt_* functions taking two arguments. The distinction between functions with one and two arguments is quite pointless. Simplify parse_options() code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-26ffplay: Remove disabled code.Diego Biurrun
2011-05-19Add support for request_sample_format in ffmpeg and ffplay.Justin Ruggles
2011-05-17ffplay: remove audio_write_get_buf_size() forward declarationStefano Sabatini
Move up the definition of audio_write_get_buf_size(), so that it is defined before it is used. Simplify. (cherry picked from commit 8776f3d22e401e30d17856e341f6cabbbefa92f7)
2011-05-12configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
2011-05-11ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i ↵Benjamin Larsson
"file" and ffplay -i "file". Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-10Add the notion of pixel size in h264 related functions.Oskar Arvidsson
In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-02Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-29Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun
2011-04-23Lowercase all ff* program names.Diego Biurrun
2011-04-19lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov
2011-04-07avio: avio_ prefix for url_set_interrupt_cb.Anton Khirnov
2011-03-21ffplay: Don't assume ic->pb is non-nullMartin Storsjö
This fixes crashes on exit when plaing some RealRTSP streams (among other), e.g. rtsp://dl.lib.brown.edu:554/areserves/1093545294660883.mp3. These crashes have been present since 3e68b3ba7b015cf21. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-15avio: deprecate url_ferrorAnton Khirnov
AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-08avio: deprecate url_feofAnton Khirnov
AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-07avio: avio_ prefix for url_fsizeAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-04avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-17lavf: add av_ prefix to dump_format()Anton Khirnov
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15Merge libavcore into libavutilReinhard Tartler
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>
2011-02-14Remove disabled legacy code in ffplay.Stefano Sabatini
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>
2011-02-09Deprecate avcodec_thread_init()Alexander Strange
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>
2011-02-09Frame-based multithreading framework using pthreadsAlexander Strange
See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-06Adopt pkt_dts/pkt_pts in lavc clientsAlexander Strange
No behavior change; this makes DTS reliable with the next patch. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-04Make avfilter_graph_free() free the graph.Stefano Sabatini
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>
2011-02-02ffplay: factorize code from video_thread() into configure_video_filters()Stefano Sabatini
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-30In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.Stefano Sabatini
AVCodecContext.reordered_opaque is deprecated for this specific use. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-30ffplay: in video_thread(), use av_dlog() for timestamp logging.Stefano Sabatini
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>
2011-01-22Remove outdated and confusing comment.Stefano Sabatini
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-18Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().Stefano Sabatini
2011-01-18Remove outcommented fossil code.Stefano Sabatini
2011-01-16Fix weird indent in get_video_frame().Stefano Sabatini
Originally committed as revision 26390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15Reindent after the last commit.Stefano Sabatini
Originally committed as revision 26372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15In ffplay, do not open display if -nodisp is set.Stefano Sabatini
Fixes issue 1017. Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15Cosmetics: fix weird indent.Stefano Sabatini
Originally committed as revision 26350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-08Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.ptsMichael Niedermayer
Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk