aboutsummaryrefslogtreecommitdiffhomepage
path: root/m_option.c
Commit message (Collapse)AuthorAge
...
* | Merge svn changes up to r30475Gravatar Uoti Urpala2010-03-09
|\ \
* | | Make help text translatableGravatar Uoti Urpala2010-03-07
| | | | | | | | | | | | | | | | | | Translate help_text and also make all CONF_TYPE_PRINT option output translatable (though no translations exist yet for anything other than the main help text).
| | * Do not cast the results of malloc/calloc/realloc.Gravatar diego2010-02-26
| | | | | | | | | | | | | | | | | | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * Make more option-parsing related function arguments const.Gravatar reimar2010-02-25
| |/ | | | | | | | | | | | | Prerequisite for making stream_open filename const in a proper way. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30737 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add license header to all top-level files missing them.Gravatar diego2010-01-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30301Gravatar Uoti Urpala2010-01-25
|\|
| * Add support for distinguishing between little- and big-endian SPDIF AC3Gravatar reimar2010-01-11
| | | | | | | | | | | | | | and converting between both. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30165Gravatar Uoti Urpala2010-01-08
|\|
| * Add support for YUV format with alpha and fix the codecs.conf entry for vp6aGravatar reimar2009-12-31
| | | | | | | | | | | | | | | | to use it. Fixes playback of samples in http://samples.mplayerhq.hu/FLV/flash_with_alpha/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30157 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for 16-bit per component YUV formats.Gravatar reimar2009-12-31
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for 440p colorspace.Gravatar reimar2009-12-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29962Gravatar Uoti Urpala2009-11-23
|\|
| * Support 16-bit-per-component RGB formats (rgb48[bln]e) in option parser.Gravatar reimar2009-11-21
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29942 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
| * whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28862Gravatar Uoti Urpala2009-03-07
|\|
| * 100l, remove a pointless opt = NULL assignment that made print_int crash ↵Gravatar reimar2009-03-03
| | | | | | | | | | | | since r28794 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28803 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a 64 bit integer type to the suboption parser.Gravatar reimar2009-03-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28794 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use strtoll in parse_int to avoid discrepancies between 32 and 64 bit systems.Gravatar reimar2009-03-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28793 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Minor cosmetics: fix indentationGravatar reimar2009-03-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28792 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27899Gravatar Uoti Urpala2008-11-06
|\|
| * Avoid a potential memleak in parse_obj_params in case of a missingGravatar reimar2008-10-31
| | | | | | | | | | | | m_ob_params_t part. Fixes bug #1318. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27869 b3059339-0415-0410-9bf9-f77b7e298cf2
* | options: Fix multiple -v by simplifying CONF_TYPE_FUNCGravatar Uoti Urpala2008-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | The CONF_TYPE_FUNC implementation counted how many times the option had appeared and called the function that many times when it was set. However each -v on the command line triggered an increase of the count _and_ as many calls as the current count indicated. Thus the resulting verbosity levels for 0 to 5 -v were really 0, 1, 3, 6, 10, 15 instead of 0, 1, 2, 3, 4, 5. Remove the counting functionality and just call the given function once at each set operation. This fixes -v; other options are not affected.
* | options: Remove "reset" functionality from CONF_TYPE_FUNC[_PARAM]Gravatar Uoti Urpala2008-04-26
|/ | | | | | The "reset to default before setting to something else" functionality is not used by any current option, but prevents using the "priv" field of the option data for anything else.
* typo: begining --> beginningGravatar diego2007-12-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25517 b3059339-0415-0410-9bf9-f77b7e298cf2
* Option print functions may not and do not modify valueGravatar reimar2007-12-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25257 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct const usage in the option handling code so that tables can beGravatar rfelker2007-11-09
| | | | | | | 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
* Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpyGravatar reimar2007-07-05
| | | | | | | instead of plain strlcat/strlcpy git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
* mjpeg support for v4l2 tv:// driverGravatar voroshil2007-06-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a print function for the time option type.Gravatar albeu2007-05-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23433 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove C99-ism (mixed declaration and code),Gravatar gpoirier2007-02-28
| | | | | | | | 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
* Move parsing of the -ss option to the option code.Gravatar uau2007-02-24
| | | | | | | Also fixes a memory leak of the parameter string. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22330 b3059339-0415-0410-9bf9-f77b7e298cf2
* str_list separator backslash-escapingGravatar reimar2007-02-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22151 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of useless last_ptr assignmentGravatar reimar2007-02-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22124 b3059339-0415-0410-9bf9-f77b7e298cf2
* \, escapingGravatar michael2006-10-20
| | | | | | | 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
* Avoid memleak when calling parse_obj_params only for syntax-checking (dst == ↵Gravatar reimar2006-10-08
| | | | | | NULL) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20107 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another != NULL check after dereferencingGravatar reimar2006-10-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20104 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix variable dereference before NULL check.Gravatar reimar2006-10-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20103 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix broken parse_time_size, it would cause MPlayer to parse its parameter twice,Gravatar reimar2006-09-29
| | | | | | | 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
* after a long time, finally i could add -endpos option to mplayer executable.Gravatar ptt2006-09-25
| | | | | | | | 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
* Get rid of two initialized but unused variablesGravatar reimar2006-08-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19364 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵Gravatar ben2006-07-31
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks some read-only char* inside structs as const, patch by Stefan Huehner, ↵Gravatar reynaldo2006-07-27
| | | | | | stefan At huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several string parameters as const, as they are not modified inside ↵Gravatar reynaldo2006-07-13
| | | | | | 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
* Remove unused variables, patch by Stefan Huehner stefan at huehner org.Gravatar diego2006-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3Gravatar reynaldo2006-07-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary void* casts - part 1Gravatar reynaldo2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not parse numbers as octal, strip leading zeroes instead.Gravatar reimar2006-06-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18721 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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