1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 06:46:55 +00:00
Commit Graph

23952 Commits

Author SHA1 Message Date
ivo
bb195ba780 Make the printoption function take the default values from the variable
names related to the flag name, with the possibility to override it if the
variable name is not the same as the flag name. This simplifies printing of
the help message and reduces the possibility of future errors.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23971 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 15:10:10 +00:00
ivo
58af77f9d8 cosmetics, indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23970 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:51:56 +00:00
ivo
f621fa2961 Shorten (un)setting of all test flags
Now that we have a list of all flags, we can set them to yes or no with a
for-loop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23969 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:50:44 +00:00
ivo
c9be32501b Much smaller command line parser
This removes all code duplication for setting and unsetting -(no)flags specified
on the command line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:48:13 +00:00
ptt
bbc21b2104 another little corrections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23967 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:21:32 +00:00
ptt
b4aa8adcb3 added missing ":"'s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:19:33 +00:00
ptt
c4d173837b better wording
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23965 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:17:15 +00:00
ptt
df4ad99a58 sorry, left english phrase in...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23964 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 10:28:40 +00:00
ptt
30dd63a6f0 synced with r23962
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 10:27:06 +00:00
ptt
57a1a3af08 added missing ':' for separator
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23962 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 10:25:37 +00:00
ptt
39a0687e44 synced to r23920
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23961 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 10:04:28 +00:00
ivo
ce138ecc7f Update copyright info and license
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23960 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 08:17:35 +00:00
ivo
5e4f641679 cosmetics, break overly long lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 08:11:18 +00:00
ivo
a5bda2e7af replace ^I by $TAB now that TAB is global
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23958 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 08:06:37 +00:00
ivo
446403aa3d only test for stupid code and reserved identifiers if there are any .c or .h
files


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23957 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:55:22 +00:00
ivo
c5bf6bb1bd 10l, forgot to make TAB global
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:49:24 +00:00
ivo
59e2d4d3c9 Test for reserved identifiers.
Identifiers with two initial underscores or an initial underscore followed by
an uppercase letter are reserved globally for use by the compiler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23955 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:45:06 +00:00
diego
a931e510b1 Identifiers starting with underscores are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23954 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:04:07 +00:00
diego
71ec2912db UTF-8 conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23953 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 06:57:57 +00:00
iive
e7e138f2aa Make teletext depend on freetype. Fixes compilation failer (in sub.c).
The new teletext code modifies variables that are available only with freetype font rendering support.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23952 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 22:26:42 +00:00
reimar
58726e195d 100l, forgot to add -DGL_WIN32 to CFLAGS for Windows OpenGL test
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23951 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 19:48:31 +00:00
reimar
12316946dc Extend OpenGL configure test to also check for glx/wgl and proper linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23950 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 19:02:45 +00:00
gpoirier
0c3bfd09d9 sync w/23588
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23949 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:59:00 +00:00
ivo
655604a44c remove GNUism (case range)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23948 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:48:03 +00:00
ivo
4b2e3c4a82 Add test for GNUisms
It currently tests for case ... ranges only, but other tests (like GNU
extensions to libc) can be added later



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:08:26 +00:00
voroshil
8ff547240b Teletext support for V4Lv1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23946 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:00:11 +00:00
voroshil
aae0e9dcde 10l: wrong pointer was initialized (causes crash during startup).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23945 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 17:31:54 +00:00
ben
5fe8918070 h/w -> hardware
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23944 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 17:19:16 +00:00
reimar
02db61c087 Change V4L2 MPEG decoder check so it can actually fail
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23943 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 17:01:50 +00:00
reimar
2b831bab30 Comment out purely debugging printf that in addition uses __FUNCTION__ which
is not supported by all compilers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23942 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 16:18:12 +00:00
reimar
653301b8e6 Fix hopefully final 150 sector offset VCD bug. Caused no noticeable problems on Linux
because it is the only case where M:S:F is used in the read call.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23941 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 16:13:04 +00:00
reimar
317fbd8905 Simplify sun SCSI command generation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23940 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:53:50 +00:00
reimar
0ce80b61cb big 10L of r9888 located: passed fd instead of pointer to sun_vcd_read
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23939 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:47:17 +00:00
reimar
aac28cfe4c Move extern int audio_output_channels; to ad_internal.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23938 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:23:25 +00:00
reimar
80e0ec3e10 Indicate desired number of output channels to ffmpeg audio decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23937 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:19:35 +00:00
reimar
1233361b46 Avoid void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23936 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 14:52:07 +00:00
reimar
3b9d93025f Use the standard inline instead of __inline
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23935 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:58:45 +00:00
reimar
43f83d25be Another missed case-range
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23934 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:55:51 +00:00
reimar
73e967ea97 Do not use gnu case-range extension if it's easy to avoid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23933 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:54:15 +00:00
reimar
1a82dd2267 Use goto instead of useless recursion that might fill up the stack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23932 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:48:08 +00:00
reimar
f100b100aa Do not use a return value for a void function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23931 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:46:53 +00:00
reimar
701cf0fa79 C99 varargs in macros can not be empty, adjust definition so it compiles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23930 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:06:26 +00:00
Gabrov
660e681ccd synced with r23928
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23929 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 11:53:21 +00:00
voroshil
ce2792fe74 Subtraction should be done after & operation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23928 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 02:12:25 +00:00
voroshil
3a9bed720f Drop out overlooked debug line
Fix hex to char conversion



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23927 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 02:02:32 +00:00
ben
37e8c3daf8 update man page with v4l2 a/v outputs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23926 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 19:25:39 +00:00
ben
b61b018062 v4l2 audio/video outputs for linux 2.6.22+ kernels (outputs formerly known as ivtv)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23925 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 19:20:55 +00:00
voroshil
6564720a31 Teletext support
Part 5/5: documentation



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23924 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:58:20 +00:00
voroshil
da32be7802 Teletext support
Part 4/5: teletext page rendering



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23923 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:57:39 +00:00
reimar
ecd76ccd5c More doxygen comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23922 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:57:12 +00:00