Commit Graph

124 Commits

Author SHA1 Message Date
diego c464abb983 Fix some typos, add flv and trp to the list of video formats
and rearrange file type lists alphabetically.
patch by Konrad 'd3viCe' Pióro, konrad.pioro zask pl


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28274 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 22:18:35 +00:00
diego 824abb5a65 Add missing 'void' keyword to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:48:03 +00:00
diego 0864f92e7a Get rid of pointless 'extern' keywords.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
diego 959c047930 Add necessary #include <stdlib.h> for realloc/calloc/free.
patch by JonY, 10walls gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27501 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 13:05:33 +00:00
diego 2a90e559a9 consistency cosmetics: Avoid using .. in #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27495 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 22:29:27 +00:00
diego 091d352d06 Rename font-related preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego 141e81cce4 Rename a bunch of miscellaneous preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 08:58:07 +00:00
diego 024b6efdf1 Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
Use it in all the places that checked for either ALSA 0.9 or 1.x.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27422 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 23:19:29 +00:00
diego f83e779ee4 Rename some audio-output-related preprocessor directives.
Switch them from a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27419 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 16:32:47 +00:00
diego 82f319af62 Change a bunch of X11-specific preprocessor directives.
Switch from a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 06:16:23 +00:00
diego 02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego d17f9943af Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
diego 3b31fa5717 Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:44:59 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
zuxy d7af803d7a Remove unnecessary and troublesome inline
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27324 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-18 08:26:26 +00:00
zuxy a078ef894c Force gcc to emit function body under -gnu99
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27306 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 10:07:21 +00:00
diego 3e1c882458 Mark function not used outside of the file as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27239 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 15:55:32 +00:00
diego 2ec286d286 Remove declaration of extern inline function that is used nowhere from header
file, fixes the warnings:
gui/mplayer/gui_common.h:32: warning: inline function 'TranslateFilename' declared but never defined
gui/mplayer/gui_common.h:32: warning: inline function 'TranslateFilename' declared but never defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27238 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 15:54:31 +00:00
diego 05bc68ae36 Add standard GPL header to individual files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26490 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 09:33:39 +00:00
diego e84b4b7686 Use standard GPL header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26489 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 09:32:30 +00:00
albeu a2728034c9 noconfig fix, disable_gui_conf was not defined when compiling mencoder.
Fix mencoder linking when the GUI is enabled.
Patch by Norman Yarvin (yarvin -at- yarchive -dot- net).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26454 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-15 13:20:15 +00:00
albeu 6e62b3a85f Add options to disable some or all config files.
Patch by Andrew Savchenko (Bircoph -at- list -dot- ru).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26448 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-14 11:21:29 +00:00
diego 751c986719 wording improvements suggested by the Wanderer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26424 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 22:01:16 +00:00
diego a1a1bd5e31 Make include paths consistent; do not use ../ in them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26414 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 16:03:07 +00:00
diego 636ffbe025 Update include paths to account for build system changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26404 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 13:19:35 +00:00
diego bc6b3d5d20 typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26403 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 13:13:27 +00:00
diego 99405ac93c Merge ./gui/Makefile into ./Makefile, one less instance of recursive make.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26398 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 17:45:02 +00:00
diego 40190e8ec7 Add gui/ prefix to some #include paths so that compilation from the
top-level source directory does not fail.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 16:55:27 +00:00
diego 2fe07e1cbe Remove duplicate #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26394 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 10:34:26 +00:00
diego 0e2ecd39c5 Add a config.mak variable to control compilation of the Win32 GUI.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26386 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 07:28:32 +00:00
diego 37ea342f85 #include config.h before all other headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:46:13 +00:00
vayne d30c0a9ae2 removed redundant wincfg.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26226 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-11 18:47:46 +00:00
vayne e1b3a29b3e more header / declaration cleanups; fixes a lot of warnings as well as a preempt to removal of redundant wincfg.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26225 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-11 18:46:52 +00:00
diego 9e1391b534 Rename url.c/url.h to the less generic gtk_url.c/gtk_url.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26169 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 07:59:37 +00:00
diego bab8e78a2b Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26168 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 07:53:14 +00:00
diego 97f140390b consistency cosmetics: Use #ifdef everywhere instead of #if defined().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26167 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 07:52:36 +00:00
diego ac491474f1 Remove pointless #ifdef USE_LIBAVCODEC inside #ifdef USE_LIBAVCODEC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26156 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-04 19:13:18 +00:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego 2fa781bcfe Consistently use filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26043 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 00:10:33 +00:00
diego 77eb726c3d Remove pointless #ifdefs around extern declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-20 08:51:53 +00:00
diego 2afea0a79b cosmetics: indent, remove trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26025 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 19:39:10 +00:00
diego 7976b35705 Merge the two conditional definitions of get_current_dir_name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26024 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 19:37:59 +00:00
diego 835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
reimar 7c39bad200 Add windows cp1256 encoding for arabic, fixes bug #1007
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25947 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-01 22:31:30 +00:00
reimar fbae3928cd Allow independent scaling of vo_font and sub_font.
Patch by Guillaume LECERF (foxcore gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:14:02 +00:00
reimar fda4dce8a0 audio_out / video_out structs should be treated as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25793 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:33:36 +00:00
reimar 0b0a71b97c Make xpm arrays really const (I missed that they are not strings but
array of strings (string pointers)).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:52:33 +00:00
reimar 0f5b555562 Make all gui xpm bitmaps const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:43:36 +00:00
reimar 1ade4e20ba gui_opts should be const for win32 gui as well (why, oh why, was all
this code duplicated??).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:26:28 +00:00