1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
diego
a356cbcc01 Remove unused variables, patch by Stefan Huehner stefan at huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 17:28:36 +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
reynaldo
5b4ec50d44 rm unnecesary void* casts - part 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 03:56:13 +00:00
reimar
f3f1509ba9 Do not parse numbers as octal, strip leading zeroes instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18721 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:09:03 +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
reynaldo
3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of 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
2006-04-24 07:20:34 +00:00
albeu
122744d6ed Small fix with object list (-vf) help.
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
2006-03-15 17:16:13 +00:00
diego
1cbeb57911 Make -xy help output consistent, output an empty line before and after.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17728 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 17:33:56 +00:00
reimar
2e51fd4440 use calloc instead of malloc in copy_func_pf, missing initialization of
next field caused crash (fixes bug #459)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17668 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-22 20:39:44 +00:00
albeu
eed2e8e820 New option type to print help text with a function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17471 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-24 11:14:13 +00:00
albeu
97740de423 Fix misuse of the M_OPT_TYPE_INDIRECT flag, it has nothing to do
with the type of data used by the option.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17469 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-23 12:15:22 +00:00
rfelker
97f2d88db0 fix incorrect use of strl* functions (patch by reimar)
(unknown suboption "cop" with -oac copy, etc)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16855 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 17:28:10 +00:00
reimar
169416fd51 Use PRI?64 defines as format strings for 64 bit variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 18:33:56 +00:00
reimar
9474719abe Add support for suboption escaping via both "" and %n%str syntax
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16742 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 16:35:37 +00:00
reimar
70f2321ae8 Do not define NO_FREE, it causes a giant memleak with -loop 0 and a short file.
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
2005-09-07 00:19:04 +00:00
gpoirier
43844d090c allow multiple help clauses on the command line, Patch by kiriuja " 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
2005-09-02 08:29:30 +00:00
gpoirier
9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
reimar
8193073010 Fix crash with e.g. -vf scale=::
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15744 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-17 08:15:08 +00:00
nicodvb
1cb05c0cfa introduced -string- parameter to match everything after :// syntax
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15461 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 12:49:18 +00:00
alex
cd9e4753d7 CONF_TYPE_AFMT similar to CONF_TYPE_IMGFMT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14247 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:32:54 +00:00
diego
1d97ef0ec3 Add "Available video filters:" line to -vf help.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14086 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 23:24:25 +00:00
michael
37910018d1 RGBA variants
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13000 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-11 10:31:38 +00:00
iive
52f2a5ce25 make config accept true/false as parameters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12776 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-08 00:04:42 +00:00
alex
5962b1f14a degccify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12654 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 17:01:25 +00:00
michael
1ffcfbaa68 100l (cvs commit + tired ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11951 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-10 22:58:30 +00:00
michael
2c82d5a1d8 m_option_type_double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11948 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-10 14:32:06 +00:00
wight
52e7eee811 swedish yes/no options support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11786 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-13 09:55:40 +00:00
wight
229554044d polish yes/no options support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11782 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-12 07:09:10 +00:00
albeu
a546b9abc0 Fix long standing bug where last (and sometimes first) char of the
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
2004-01-10 14:38:07 +00:00
alex
6b92265b77 10l. found by John Wehle <john@feith.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11689 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-27 12:36:24 +00:00
rathann
e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
diego
50ff1ca5b7 -vop ---> -vf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11262 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-25 18:44:41 +00:00
alex
4736af8f1a added nv12/nv21 and some other fourccs (still not synced)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10747 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 21:11:35 +00:00
diego
06f1a02f00 a 100l and another typo
spotted by Alex "eagle eye" Beregszaszi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10661 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 13:49:22 +00:00
diego
044464245f spelling and grammar fixes galore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10642 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-17 13:51:04 +00:00
diego
a9bcc8342c Spelling police:
Something that we do not know about is unknowN.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10609 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 12:15:44 +00:00
alex
9cc5a0f4ab CONF_TYPE_IMGFMT now supports 0xffffffff (hexa)-style fourccs too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10598 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 17:38:30 +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
9be023633c Fix a 10l and add escaped filename support. Needed by ftp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10593 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 12:09:25 +00:00
diego
8838b4afa6 output typo fixes: unknow --> unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-09 01:30:24 +00:00
albeu
2611700458 Fix the segfault in case of missing arg for flag options
in config files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10356 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-01 09:26:49 +00:00
alex
cc1edea30e warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10237 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-01 22:16:41 +00:00
albeu
da665dfe87 Add suffix support to the object list type.
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
2003-04-12 13:45:43 +00:00
albeu
293e3b42b1 Don't give the initial / as part of the filename.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9849 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:27:14 +00:00
albeu
9b17043d56 Fix some 10L typo in header (m_struct_s instead of m_struct_st).
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
2003-04-02 16:11:15 +00:00
albeu
d4a3dfac98 Improve the imgfmt option type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9601 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 20:49:39 +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
1de6f0cf9e disable free() in string and string_list parsers. yes, it's a hack
(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
2003-01-30 21:28:01 +00:00
michael
f1d7c16d8d pphelp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8737 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 12:40:10 +00:00