1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
michael
4375571265 \, escaping
applying my own patch due to lack of anyone objecting to it and as its pretty much needed for -vf geq


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20320 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-20 16:42:36 +00:00
reimar
d118552100 Avoid memleak when calling parse_obj_params only for syntax-checking (dst == NULL)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20107 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 09:43:18 +00:00
reimar
32ddb1bb28 Another != NULL check after dereferencing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20104 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 09:10:55 +00:00
reimar
ab39d95f53 Fix variable dereference before NULL check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20103 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 09:07:51 +00:00
reimar
798b104801 Fix broken parse_time_size, it would cause MPlayer to parse its parameter twice,
e.g. "mplayer file -endpos 01" would try to play the file "01", too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20009 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-29 23:23:41 +00:00
ptt
928da7a448 after a long time, finally i could add -endpos option to mplayer executable.
as oded told me on 1006 02 24, i applied it, blame me if some problem occurs,
i hope not, since i tried it for a while....


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19979 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-25 16:47:56 +00:00
reimar
2fdc1e9a8e Get rid of two initialized but unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19364 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-09 16:52:48 +00:00
ben
49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00
reynaldo
db5487225c marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 17:35:06 +00:00
reynaldo
1a16cbfec3 marks several string parameters as const, as they are not modified inside the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 05:03:43 +00:00
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