aboutsummaryrefslogtreecommitdiffhomepage
path: root/m_option.c
Commit message (Collapse)AuthorAge
* Doxygen attack!Gravatar albeu2006-04-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵Gravatar reynaldo2006-04-24
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Small fix with object list (-vf) help.Gravatar albeu2006-03-15
| | | | | | | | | | Tell the user when an object have no option description instead of falling back to the "normal" help, like with -vf pp=help. Don't display a useless error message when querying the help of an object option (as in -vf scale=presize=help). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17875 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -xy help output consistent, output an empty line before and after.Gravatar diego2006-03-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17728 b3059339-0415-0410-9bf9-f77b7e298cf2
* use calloc instead of malloc in copy_func_pf, missing initialization ofGravatar reimar2006-02-22
| | | | | | | next field caused crash (fixes bug #459) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17668 b3059339-0415-0410-9bf9-f77b7e298cf2
* New option type to print help text with a function.Gravatar albeu2006-01-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix misuse of the M_OPT_TYPE_INDIRECT flag, it has nothing to doGravatar albeu2006-01-23
| | | | | | | with the type of data used by the option. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17469 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix incorrect use of strl* functions (patch by reimar)Gravatar rfelker2005-10-25
| | | | | | | (unknown suboption "cop" with -oac copy, etc) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16855 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use PRI?64 defines as format strings for 64 bit variables.Gravatar reimar2005-10-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for suboption escaping via both "" and %n%str syntaxGravatar reimar2005-10-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16742 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not define NO_FREE, it causes a giant memleak with -loop 0 and a short file.Gravatar reimar2005-09-07
| | | | | | | If this causes problems these should be fixed instead of using this hack. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16426 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow multiple help clauses on the command line, Patch by kiriuja " ↵Gravatar gpoirier2005-09-02
| | | | | | | | | | | | | | | | | mplayer-patches AH en-directo POUM net " This one makes mplayer -vo help -ao help -ac help -vc help -pphelp -af help -vfm help -vf help -afm help -fstype help produce the desired output. From the thread: Date: Jul 16, 2005 8:25 PM Subject: [MPlayer-dev-eng] [PATCH] allow multiple help clauses on the command line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16346 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM ↵Gravatar gpoirier2005-06-20
| | | | | | en DASH directo POUM net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash with e.g. -vf scale=::Gravatar reimar2005-06-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15744 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduced -string- parameter to match everything after :// syntaxGravatar nicodvb2005-05-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15461 b3059339-0415-0410-9bf9-f77b7e298cf2
* CONF_TYPE_AFMT similar to CONF_TYPE_IMGFMTGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add "Available video filters:" line to -vf help.Gravatar diego2004-12-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14086 b3059339-0415-0410-9bf9-f77b7e298cf2
* RGBA variantsGravatar michael2004-08-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13000 b3059339-0415-0410-9bf9-f77b7e298cf2
* make config accept true/false as parametersGravatar iive2004-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12776 b3059339-0415-0410-9bf9-f77b7e298cf2
* degccifyGravatar alex2004-06-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12654 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l (cvs commit + tired ...)Gravatar michael2004-02-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11951 b3059339-0415-0410-9bf9-f77b7e298cf2
* m_option_type_doubleGravatar michael2004-02-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11948 b3059339-0415-0410-9bf9-f77b7e298cf2
* swedish yes/no options supportGravatar wight2004-01-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11786 b3059339-0415-0410-9bf9-f77b7e298cf2
* polish yes/no options supportGravatar wight2004-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11782 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix long standing bug where last (and sometimes first) char of theGravatar albeu2004-01-10
| | | | | | | | hostname got ripped. Also fix url unescaping with hex A ... F git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11772 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l. found by John Wehle <john@feith.com>Gravatar alex2003-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11689 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warning fixes (approved by A'rpi).Gravatar rathann2003-11-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vop ---> -vfGravatar diego2003-10-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11262 b3059339-0415-0410-9bf9-f77b7e298cf2
* added nv12/nv21 and some other fourccs (still not synced)Gravatar alex2003-08-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10747 b3059339-0415-0410-9bf9-f77b7e298cf2
* a 100l and another typoGravatar diego2003-08-18
| | | | | | | spotted by Alex "eagle eye" Beregszaszi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10661 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling and grammar fixes galoreGravatar diego2003-08-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10642 b3059339-0415-0410-9bf9-f77b7e298cf2
* Spelling police:Gravatar diego2003-08-14
| | | | | | | Something that we do not know about is unknowN. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10609 b3059339-0415-0410-9bf9-f77b7e298cf2
* CONF_TYPE_IMGFMT now supports 0xffffffff (hexa)-style fourccs tooGravatar alex2003-08-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10598 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l to albeu for his english grammar, and 10l to me becouse I noticed that ↵Gravatar alex2003-08-13
| | | | | | lately (my backward compatibilty macro uses M_OPT_UNKNOWN) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed the historic cfgparser and switched full to the new config parser ↵Gravatar alex2003-08-13
| | | | | | (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
* Fix a 10l and add escaped filename support. Needed by ftp.Gravatar albeu2003-08-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10593 b3059339-0415-0410-9bf9-f77b7e298cf2
* output typo fixes: unknow --> unknownGravatar diego2003-07-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the segfault in case of missing arg for flag optionsGravatar albeu2003-07-01
| | | | | | | in config files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10356 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by DominikGravatar alex2003-06-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add suffix support to the object list type.Gravatar albeu2003-04-12
| | | | | | | | | | | So now -vf-clr destroy the list -vf-add filer1=blah,filter append these 2 filters, -vf-pre ... will 'prepend' them. Finnaly -vf-del 2,3,-1 will delete the filters at at given indexs It start from 0, negative number start from the end of the list (so -1 is the last one). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9914 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't give the initial / as part of the filename.Gravatar albeu2003-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9849 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some 10L typo in header (m_struct_s instead of m_struct_st).Gravatar albeu2003-04-02
| | | | | | | | | | | | Add on/off for flag params Remove the span stuff (unused, never finished, etc) Add object setting option (syntax like -vf but with a settable separator) Add a 'custom url' option type (url where each part can be any kind of option) Replace all exit() with a return code, exit will be done in the cmd line parser git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9792 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve the imgfmt option typeGravatar albeu2003-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new -vf option wich is the same as vop in reverse order.Gravatar albeu2003-03-15
| | | | | | | | 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
* disable free() in string and string_list parsers. yes, it's a hackGravatar arpi2003-01-30
| | | | | | | | | | | | | | | | | | (and a little memleak), but i can explain :) [note it's just a few kB memleak, but it's the price of stability without full code review/audit - there are hunderds of possible double free()] the old config parser didn't free() strings/stringlists, but didn't even allocate them by default. the new one always free(), and it causes memcorruption/sig11 at cases like this: char* dvd_device="/dev/dvd"; {"dvd-device", &dvd_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, since string constansts (allocated in .TEXT segment) cannot be free()'d git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9178 b3059339-0415-0410-9bf9-f77b7e298cf2
* pphelpGravatar michael2003-01-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8737 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed 'mplayer -nosound xxx' sig11 if configfile have string list optionsGravatar arpi2002-12-06
| | | | | | | (actually there was one dword less allocated... and so got corrupted) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8385 b3059339-0415-0410-9bf9-f77b7e298cf2
* FreeBSD fixGravatar nexus2002-11-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8263 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the Gui with NEW_CONFIGGravatar albeu2002-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8169 b3059339-0415-0410-9bf9-f77b7e298cf2
* New config system + cleanup of header inter dependencyGravatar albeu2002-11-12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2