Commit Graph

74 Commits

Author SHA1 Message Date
diego e91fc44d4c typo: begining --> beginning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25517 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-23 21:22:02 +00:00
reimar 2e18988a04 Option print functions may not and do not modify value
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25257 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:56:38 +00:00
rfelker 452c2c5652 correct const usage in the option handling code so that tables can be
declared const and moved from .data to .text/rodata sections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:50:53 +00:00
reimar 4c4a1070fe Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
instead of plain strlcat/strlcpy


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
voroshil cc5ea363f8 mjpeg support for v4l2 tv:// driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-01 17:29:35 +00:00
albeu 67341d23fa Add a print function for the time option type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-31 12:37:37 +00:00
gpoirier 2793a70e0f remove C99-ism (mixed declaration and code),
10l to Uoti Urpala for breaking GCC-2.95 support yet again even though any post-2.95 GCC version print a clear warning about it
Patch by Carl Eugen Hoyos % cehoyos A ag P or P at %


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22374 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 09:18:42 +00:00
uau e5ab09bb64 Move parsing of the -ss option to the option code.
Also fixes a memory leak of the parameter string.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22330 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-24 07:11:57 +00:00
reimar e2e0d90912 str_list separator backslash-escaping
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22151 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:03:12 +00:00
reimar ae912aee0d Get rid of useless last_ptr assignment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22124 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 11:58:29 +00:00
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