Commit Graph

56 Commits

Author SHA1 Message Date
Diego Pettenò a14b362fc6 Use CONFIG_* macros in cmdutils.c for consistency.
Originally committed as revision 15626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 11:46:15 +00:00
Diego Pettenò 88b77ef1e0 Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò
Originally committed as revision 15547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 09:25:39 +00:00
Michael Niedermayer 85663ef302 Move opt_default() and set_context_opts() to cmdutils so it can be used from
the other tools as well.

Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:35:22 +00:00
Stefano Sabatini 1981deaf6b Make show_banner()/show_version() print the libpostproc version
numbers if enabled.

Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 18:02:46 +00:00
Stefano Sabatini e9df66a7af Cosmetics: vertical align in print_all_lib_versions().
Originally committed as revision 15032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 18:29:45 +00:00
Stefano Sabatini db6d50c754 Make show_version()/show_banner() print the libswscale versions if
enabled.

Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 18:25:14 +00:00
Stefano Sabatini 9a10927279 Make show_banner() and show_version() print both the compile-time and the
link-time/run-time libav* version numbers.

Originally committed as revision 14737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 20:08:37 +00:00
Diego Biurrun 7254edb5ba Replace call to deprecated avcodec_build() with avcodec_version().
Originally committed as revision 14521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 14:37:19 +00:00
Stefano Sabatini 304ba23a0b Print the program_name rather than always "FFmpeg" when showing the
commandline tools license.

Originally committed as revision 14141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 18:45:33 +00:00
Stefano Sabatini ea9c581f61 Simplify show_banner() so that it does not require arguments, similar
to what was previously done with show_version().
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 08:48:51 +00:00
Stefano Sabatini ba9880c13a Move show_formats() to cmdutils.c.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 12:55:35 +00:00
Michael Niedermayer 64555bd9b1 Do not pass program_name as argument to show_version(), this allows some
future simplifications.

Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:36:32 +00:00
Michael Niedermayer a0b3bcd9fe OPT_EXIT
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:27:50 +00:00
Diego Biurrun 245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Ramiro Polla 0b705fa424 Compile network-related code conditionally.
Originally committed as revision 13076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 00:46:34 +00:00
Luca Barbato 18ec046026 Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg
Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:16:34 +00:00
Stefano Sabatini 7542157d8a Export parse_time_or_die from ffmpeg.c to cmdutils.c
Patch by Stefano Sabatini (stefano sabatini-lala poste it)

Originally committed as revision 12647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 10:01:06 +00:00
Diego Biurrun d952638699 typo: occured --> occurred
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 01:06:57 +00:00
Diego Biurrun 63d026b1bf cosmetics: #include config.h before all other FFmpeg headers.
Originally committed as revision 12450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 16:17:02 +00:00
Michael Niedermayer 1f3d74d39b Remove INFINITY as suggested by rich.
Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 23:59:14 +00:00
Vitor Sessak ab4b28f09d Print libavfilter version if it is enabled in configure
Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 07:24:00 +00:00
Stefano Sabatini 7c84b8bcdd Make parse_options() use parse_number_or_die().
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 12211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:15:52 +00:00
Michael Niedermayer 086ab00158 parse_number_or_die()
Based on a patch by Stefano Sabatini.

Originally committed as revision 12167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 12:24:37 +00:00
Diego Biurrun 7ead693b79 Do not print an (L)GPL license statement when nonfree parts have been compiled
into FFmpeg.  Instead warn that the resulting binary is unredistributable.

Originally committed as revision 11666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 08:07:18 +00:00
Michael Niedermayer 2208741afe Print libavdevice version.
Originally committed as revision 11484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 01:02:52 +00:00
Benoit Fouet 69c12fbb95 Update show_banner date.
Originally committed as revision 11368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 09:41:24 +00:00
Ronald S. Bultje b6cd8593b3 cmdutils.c uses FFMPEG_CONFIGURATION from config.h without directly including
config.h so that compilation without HAVE_AV_CONFIG_H fails.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 10619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 19:27:11 +00:00
Stefano Sabatini 86074ed1b7 Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]

Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:38:40 +00:00
Stefano Sabatini f35917b2f3 Implement the cmdutils.c show_license function.
patch by Stefano Sabatini: [stefano sabatini-lala /\ poste it]

Originally committed as revision 10149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 08:09:51 +00:00
Stefano Sabatini 60a9966e4d Make cmdutils.c:parse_options accept as argument a function to parse
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 23:03:36 +00:00
Panagiotis Issaris 24fddf48e7 Replace the only occurrence of AVERROR_NOENT with AVERROR(ENOENT).
Originally committed as revision 9761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:24:58 +00:00
Panagiotis Issaris 6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:23:32 +00:00
Panagiotis Issaris 769e10f068 Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:21:30 +00:00
Ronald S. Bultje 0f4e816582 to be able to compile without HAVE_AV_CONFIG_H
patch by Ronald S. Bultje: [rsbultje gmail com]
original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
date: 06/23/2007 03:15 AM

Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:43:23 +00:00
Måns Rullgård f7d78f3654 replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Diego Biurrun 364a960704 Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.
Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 14:34:56 +00:00
Diego Biurrun 62dd740c7c Remove redundant #include, avformat.h indirectly includes common.h.
Originally committed as revision 9261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 08:41:07 +00:00
Benoit Fouet 0ba0c8debb Use url_fopen error code when opening input file
handle the AVERROR_NOENT error case in print_error

Originally committed as revision 8977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:25:33 +00:00
Patrice Bensoussan 946d3b12a1 change atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2
patch by Patrice Bensoussan \ patrice dot bensoussan chez free dot fr
Original thread:
date: 04/05/2007 07:56 PM
subject: [Ffmpeg-devel] [PATCH] Fix broken compilation on Mac OS X 10.2 due to OPT_INT64 support

Originally committed as revision 8724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-13 07:19:12 +00:00
Baptiste Coudurier ffdf9a1f2d add OPT_INT64 option
Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:43:39 +00:00
Michael Niedermayer c367d06702 prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Loren Merritt b0d7bc1eab 10l in r7174 caused all options to be treated as filenames.
Originally committed as revision 7177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-27 15:48:16 +00:00
Timo Lindfors 84bf226b65 Add support for files that begin with a dash.
Patch by Timo Lindfors % lindi A kurp P hut P fi %
Original thread:
Date: Mon, 27 Nov 2006 02:00:14 +0200
Subject: [Ffmpeg-devel] ffplay confused about filenames that begin with a dash

Originally committed as revision 7174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-27 12:37:43 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Måns Rullgård fccfc47533 fix const warning
Originally committed as revision 4739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:51:38 +00:00
Michael Niedermayer 8bbf6db98b AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Kostya Shishkov 45ce5ddb89 handle AVERROR_IO and AVERROR_NOMEM patch by (Kostya <cannonball bw-team com>)
Originally committed as revision 3853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-20 15:31:07 +00:00