Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Amar Takhar
e306174952
Translation system changes part 2: replace macros by strings
...
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14
Translation system changes part 1: wrap translated strings
...
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03:00
Uoti Urpala
1ade57af4b
m_config.c: Remove unused function m_config_get_option_ptr
2008-08-12 14:57:18 +03:00
Uoti Urpala
bb12a33f9a
options: Make dynamic dup hack work with new options
...
The option system has a hack that converts default values (potentially
constants) of dynamically allocated options to allocated ones when the
options are first added to the config system, so that all values can
be equally freed later. Make this work with new-style options in the
option struct too.
2008-04-30 19:34:48 +03:00
Uoti Urpala
e61ac5e9cb
m_config.c: Cosmetics: fix nested block lacking indentation
2008-04-30 19:34:47 +03:00
Uoti Urpala
05ad815133
Mark some constant symbols as such
2008-04-26 16:35:40 +03:00
Uoti Urpala
fb33e286b5
Move global mconfig to mpctx
...
The global was used in the function cfg_include which handles the
-include option. Make the address available in that function by
creating a new dynamically allocated option in m_config_new that has
the address in the option's private data.
asxparser.c also used the global. Making it available through all ways
the code could get called required a number of relatively straightforward
changes to playtree and menu code.
2008-04-26 10:44:59 +03:00
Uoti Urpala
2993acdc31
Convert m_config.c to use talloc
2008-04-26 09:37:29 +03:00
Uoti Urpala
9db0c118d3
Start of new option system
...
First part of option restructuring. The aim is to move option values
from a huge number of separate globals to a single non-global struct.
This part adds some support for parsing option values into such struct
instances, and moves one example option (fixed-vo) to the struct.
2008-04-23 13:41:05 +03:00
albeu
e4dc453ea0
Replace the trivial command line preparser with a more robust version
...
allowing all kind of options to be used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26440 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 19:18:51 +00:00
uau
12ff2d2644
Add some const qualifiers to reduce warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26320 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-02 01:01:22 +00:00
diego
835c654bb0
typo fix: inited --> initialized
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
ben
7a4efd3ce7
export m_config_set_profile()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25662 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 18:41:21 +00:00
reimar
e42550302c
First try to mark some things in m_config correctly as const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:35:58 +00:00
reimar
2f7192222a
Fix some typos in comments
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23888 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 10:14:42 +00:00
reimar
e607c7289f
Remove some more useless *alloc casts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-19 13:52:39 +00:00
reimar
b05b201a49
Fix obvious typo, although the exact effect is still unclear to me, see also bug #593 .
...
Patch by jose nazario [jose <at> monkey org].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21070 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 17:41:31 +00:00
reynaldo
3afd65b3af
rm unnecesary casts from void* - part 3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 08:17:07 +00:00
diego
3f62423f42
Rename some misspelled and misnamed messages.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-28 23:06:42 +00:00
albeu
f0f01dd903
Doxygen attack!
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18259 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 19:20:04 +00:00
albeu
4e1950bd8a
10L fix missing return statement.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17857 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 21:18:27 +00:00
albeu
f3ce1dc108
Fix the MSG?_FIXME and make the profiles help translatable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17482 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-25 11:28:19 +00:00
albeu
7f28974433
Make -list-options work in both MPlayer and MEncoder.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17473 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-24 11:34:24 +00:00
albeu
d4d62bbc65
Profiles support.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17472 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-24 11:16:13 +00:00
faust3
e43bf450f5
a few 10l fixes by Wei Jiang <jiangw98@yahoo.com>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13825 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-31 10:27:40 +00:00
diego
3a591997ba
printf --> mp_msg by the Wanderer <inverseparadox at comcast dot net>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13700 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 01:32:56 +00:00
alex
1c4586e8f9
100l to albeu for his english grammar, and 10l to me becouse I noticed that lately (my backward compatibilty macro uses M_OPT_UNKNOWN)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10596 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 16:45:02 +00:00
alex
2283b6305f
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 16:29:32 +00:00
albeu
d18c4f1d1e
Don't save restore all options wich point to the same variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9913 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-12 13:40:30 +00:00
albeu
33b62af947
Add the new -vf option wich is the same as vop in reverse order.
...
Syntax is we decided, so you can give the nomes or not with both
vop and vf. vf take precedence over vop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 18:01:02 +00:00
arpi
e8b3a3bd4a
print meaningful error message for missing parameter
...
noticed by Colin Leroy <colin@colino.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9223 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 15:06:56 +00:00
arpi
f58d370b95
better error handling for invalud suboptions
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8895 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-11 17:32:45 +00:00
arpi
62d48abc7c
print meaningful error message
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8893 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-11 16:42:24 +00:00
arpi
82c2286358
10l fix by eviv bulgroz <ebulgroz@yahoo.com>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8513 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-21 21:00:45 +00:00
albeu
126725660d
New config system + cleanup of header inter dependency
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 01:56:42 +00:00