1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
Commit Graph

76 Commits

Author SHA1 Message Date
Diego Biurrun
a3d7c19728 Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.

Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 12:23:14 +00:00
Diego Biurrun
5c1f57ffdf Print compiler version and build date before configuration in console output.
Originally committed as revision 19962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 12:21:06 +00:00
William R. Zwicky
5a8597a00a Document the output of ffmpeg -formats.
Patch by William R. Zwicky, wrzwicky pobox com

Originally committed as revision 19610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-09 10:42:38 +00:00
Benoit Fouet
b1d6e5e8ad Handle noX for OPT_BOOL X.
Originally committed as revision 19572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 09:24:39 +00:00
Carl Eugen Hoyos
da4c2dab17 Remove superfluous const.
Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-27 10:26:27 +00:00
Stefano Sabatini
4c97a6fafa Move opt_loglevel() from ffmpeg.c to cmdutils.c.
Originally committed as revision 19209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-16 23:09:03 +00:00
Diego Biurrun
9cad0e4ed8 Add configure option to upgrade (L)GPL to version 3.
Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 11:04:03 +00:00
Stefano Sabatini
3bf28f9d7f Factorize initial "printf(" and ");" in show_license().
Originally committed as revision 18950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 22:22:51 +00:00
Stefano Sabatini
090b61b2d1 Implement read_yesno().
Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-18 21:35:49 +00:00
Stefano Sabatini
636f1c4cd0 Rename avctx_opts to avcodec_opts.
The new name is more meaningful and consistent with avformat_opts
and sws_opts.

Originally committed as revision 17789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:32:10 +00:00
Michael Niedermayer
6d4f53cbac Remove old scaler.
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Ramiro Polla
da2dc39e74 Revert part of r16593.
network.h should only be included when CONFIG_NETWORK is set.

Originally committed as revision 17009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 18:51:29 +00:00
Stefano Sabatini
ef4c0bb1dc Implement a var for containing the current year number rather than
hardcode it in the banner string.

Originally committed as revision 16678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 21:40:26 +00:00
Diego Biurrun
ddda628e81 Remove pointless #if around header #includes.
Originally committed as revision 16593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:45:04 +00:00
Aurelien Jacobs
b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Stefano Sabatini
e329b6ec7a Bump year number.
Originally committed as revision 16406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 11:09:37 +00:00
Stefano Sabatini
f16dd7e65a Remove calls to deprecated av_set_string2() with calls to
av_set_string3().

Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:29:30 +00:00
Stefano Sabatini
3749076c77 Fix weird indent.
Originally committed as revision 16200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 00:13:19 +00:00
Stefano Sabatini
5c3383e5b5 Fix opt_default(), making it exit immediately in case of an invalid
argument.
See the thread: "[PATCH] Fix opt_default()".

Originally committed as revision 16196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 23:21:33 +00:00
Diego Pettenò
2cd39dbf16 Include headers for optional libraries only when enabled.
Include the headers for libavfilter, libswscale and libpostproc when
they are enabled (and thus linked in).

Without this change, Sun Studio will fail to link FFmpeg since two
inline functions defined in avfilter.h will have undefined references
to non-inline libavfilter functions.

Originally committed as revision 15665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-22 10:36:34 +00:00
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