aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* vf_divtc.c: Make pointlessly static variable a normal localGravatar Uoti Urpala2008-04-26
| | | | | | Apparently because it was declared together with local constant tables (for which the "static" part was useless but harmless) a pointer variable was also declared static.
* Mark some constant symbols as suchGravatar Uoti Urpala2008-04-26
|
* Move initialized_flags to mpctxGravatar Uoti Urpala2008-04-26
| | | | | | | | The function exit_sighandler had a line if(initialized_flags==0 && sig_count>1) exit(1); rather than try to make this work without the variable I just removed the line as it looks unlikely this condition would occur except very rarely.
* Move global filename to mpctxGravatar Uoti Urpala2008-04-26
|
* Disable automatic playlist parsing properlyGravatar Uoti Urpala2008-04-26
| | | | | | The playlist code is unsafe to use with potentially hostile sources. It was disabled by default for local files but not for network streams. Make sure it is not automatically triggered for network streams either.
* Silence "discards qualifiers" warnings when compiling mplayer.cGravatar Uoti Urpala2008-04-26
| | | | | | | | | | Add casts to subconfig entries in option lists to avoid the excessive amount of "initialization discards qualifiers from pointer target type" warnings. Also add const to the type of mpctx_get_audio_out to eliminate a warning and make it match the type in the header (svn r25793 had added a const to the header but not mplayer.c). Make libmenu_vfs a table of pointers to const to eliminate another warning plus make the table itself const.
* Move global mconfig to mpctxGravatar Uoti Urpala2008-04-26
| | | | | | | | | | | The global was used in the function cfg_include which handles the -include option. Make the address available in that function by creating a new dynamically allocated option in m_config_new that has the address in the option's private data. asxparser.c also used the global. Making it available through all ways the code could get called required a number of relatively straightforward changes to playtree and menu code.
* 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.
* Merge svn changes up to r26540Gravatar Uoti Urpala2008-04-26
|\ | | | | | | | | | | Conflicts: Makefile
* | Convert m_config.c to use tallocGravatar Uoti Urpala2008-04-26
| |
* | Move vf_settings to options structGravatar Uoti Urpala2008-04-26
| |
* | options.h: Field order cosmeticsGravatar Uoti Urpala2008-04-26
| | | | | | | | | | Move correct_pts and user_correct_pts next to each other. loop_times was accidentally added between them.
* | Move vo_gamma_* to options structGravatar Uoti Urpala2008-04-26
| |
| * Revert accidentally committed changes.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26540 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Only add loader to parts if WIN32DLL is enabled.Gravatar diego2008-04-25
| | | | | | | | | | | | | | Plus, some unrelated changes to mp3lib/Makefile committed by accident. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26539 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Ignore test program.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26538 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Only compile decode_i586.c on x86_32.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26537 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless comments with compilation commands.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26536 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix test program linking.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26535 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add return statement, fixes the warning:Gravatar diego2008-04-25
| | | | | | | | | | | | | | test.c:75: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26534 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove redundant declaration, fixes the warning:Gravatar diego2008-04-25
| | | | | | | | | | | | | | | | test.c:15: warning: redundant redeclaration of 'gCpuCaps' ../cpudetect.h:53: warning: previous declaration of 'gCpuCaps' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26533 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add return statement, fixes the warning:Gravatar diego2008-04-25
| | | | | | | | | | | | | | test2.c:72: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26532 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unused variable.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26531 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add missing #include, fixes the warning:Gravatar diego2008-04-25
| | | | | | | | | | | | | | test2.c:65: warning: implicit declaration of function 'memcpy' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26530 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Take name of getch file to link against from config.mak.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26529 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge dvdread/Makefile into top-level Makefile.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26528 b3059339-0415-0410-9bf9-f77b7e298cf2
* | command.c: cosmetic changes ("type * ptr" -> "type *ptr")Gravatar Uoti Urpala2008-04-25
| | | | | | | | | | | | These "type * ptr" cases were left in parameter lists from earlier automatic reindent. The "indent" binary does that when the type is an unrecognized typedef type.
* | Make video decoder description structs constGravatar Uoti Urpala2008-04-25
| | | | | | | | | | | | This makes the per-decoder struct vd_functions and its ->info struct constants. Same for the mpcodecs_vd_drivers[] table of pointers to those structs.
* | Move vd_use_slices to options structGravatar Uoti Urpala2008-04-25
| |
* | Remove global vo_flagsGravatar Uoti Urpala2008-04-25
| | | | | | | | Move the information to struct sh_video field.
* | vd.c: Cosmetic changes + remove malloc.hGravatar Uoti Urpala2008-04-25
| | | | | | | | | | Adjust formatting slightly and remove some comments. Also remove "#include malloc.h" which seems completely irrelevant.
* | Reformat vd.cGravatar Uoti Urpala2008-04-25
| | | | | | | | | | "indent -kr -l79 -nut dec_video.c --ignore-newlines vd.c", fix two "sh_video_t * sh" to "sh_video_t *sh" by hand.
* | Move movie_aspect to options structGravatar Uoti Urpala2008-04-25
| |
* | Move screen_size_xy to options structGravatar Uoti Urpala2008-04-25
| |
* | Move opt_screen_size_[x|y] to options structGravatar Uoti Urpala2008-04-25
| |
* | Move flip and softzoom to options structGravatar Uoti Urpala2008-04-25
| |
* | Move vidmode to options structGravatar Uoti Urpala2008-04-25
| |
* | Move fullscreen to options structGravatar Uoti Urpala2008-04-25
| |
* | Store video decoder functions in struct sh_video fieldGravatar Uoti Urpala2008-04-25
| | | | | | | | | | | | Remove the global variable mpvdec and move the video decoder pointer to struct sh_video field vd_driver. Audio already had a similar ad_driver field from before.
* | Remove _s/_st suffix from some struct namesGravatar Uoti Urpala2008-04-25
| | | | | | | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* | dec_video.c: A couple of cosmetic changesGravatar Uoti Urpala2008-04-25
| |
* | Reformat dec_video.cGravatar Uoti Urpala2008-04-25
| | | | | | | | | | | | "indent -kr -l79 -nut dec_video.c --ignore-newlines dec_video.c", fix some "unknown_typedef * arg" in parameter lists by hand to "unrecognized_typedef *arg".
* | Move -lavdopts to options structGravatar Uoti Urpala2008-04-25
| |
* | vd_ffmpeg.c: Eliminate some compiler warningsGravatar Uoti Urpala2008-04-25
| | | | | | | | | | Make the functions used in avctx->draw_horiz_band match its type (add a "const"). Add cast to avoid void * arithmetic.
| * DVDCSS_INTERNAL has been renamed to LIBDVDCSS_INTERNAL.Gravatar diego2008-04-25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26527 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge libfaad2/Makefile into top-level Makefile.Gravatar diego2008-04-24
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26526 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Rename make variable DVDCSS_INTERNAL --> LIBDVDCSS_INTERNAL.Gravatar diego2008-04-24
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26525 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge libdvdcss/Makefile into top-level Makefile.Gravatar diego2008-04-24
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26524 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge libmpdemux/Makefile into top-level Makefile.Gravatar diego2008-04-24
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26523 b3059339-0415-0410-9bf9-f77b7e298cf2