Commit Graph

325 Commits

Author SHA1 Message Date
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reimar 8864662b13 Make WinID a 64 bit integer, this should avoid issues with valid Window
handles on windows being interpreted as "no wid set".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28795 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-02 11:24:20 +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 74dd64e71d Add an option that sets initial playback volume.
patch by Reimar and rvm, rvm3000 ya com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27872 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-31 18:44:45 +00:00
diego e0b1c9a6b7 Give a CONFIG_ prefix to preprocessor directives that lacked one and
change arbitrary prefixes to CONFIG_.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +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 0a749ffdc5 Rename preprocessor directives related to image libraries.
Change a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:47:51 +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 e588ab056d Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +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 6138ec05eb Rename preprocessor directive HAVE_MENU --> CONFIG_MENU.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27377 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:07:19 +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
compn 44d512d97e remove extra dash in nocorrect-pts option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26842 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-21 15:11:49 +00:00
diego 4bec934234 Split cfg-common.h into two separate header files. It was being included twice
with different definitions set that activated either the lower or the upper
half of the header. The effectively simulated using two different header files.
It is more straightforward to split the header instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26392 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 09:48:36 +00:00
diego 3cd1f73f70 Add comments to #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26158 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-04 19:34:56 +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
reimar 40dca58f37 Allow demuxers to choose a default value for correct_pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25951 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-03 12:14:29 +00:00
diego 7b83b07bea typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25772 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-16 09:30:28 +00:00
reimar c3d4f52d7c Add heartbeat-cmd option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25639 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:30:15 +00:00
diego 2b6af2000b Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 21:35:58 +00:00
ulion df0f80508e Support using unrar executable to access rar-compressed vobsub files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25389 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 08:16:39 +00:00
reimar 37235a01d9 Make the main m_option_t arrays const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25261 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:45:34 +00:00
reimar 1bf629e38e Move fakemono extern to cfg-common.h where it is actually used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25259 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:10:56 +00:00
reimar 54016c6776 Remove pointless ifdefs around extern declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25258 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:08:07 +00:00
diego 27d76cfaab Fix warning:
In file included from mplayer.c:794:
cfg-mplayer.h:64: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24832 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 22:31:22 +00:00
voroshil ae9775bd1d Fix warnings:
cfg-mplayer.h:43: warning: redundant redeclaration of 'mDisplayName'
libvo/x11_common.h:30: warning: previous declaration of 'mDisplayName' was here
cfg-mplayer.h:46: warning: redundant redeclaration of 'vo_fstype_list'
libvo/x11_common.h:28: warning: previous declaration of 'vo_fstype_list' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24393 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:10:59 +00:00
voroshil e02230854c Fix warnings:
cfg-mplayer.h:9: warning: redundant redeclaration of 'noconsolecontrols'
mplayer.c:191: warning: previous definition of 'noconsolecontrols' was here
cfg-mplayer.h:22: warning: redundant redeclaration of 'volstep'
mplayer.c:566: warning: previous definition of 'volstep' was here
cfg-mplayer.h:37: warning: redundant redeclaration of 'osd_level'
mplayer.c:235: warning: previous definition of 'osd_level' was here
cfg-mplayer.h:82: warning: redundant redeclaration of 'use_filedir_conf'
mplayer.c:370: warning: previous declaration of 'use_filedir_conf' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24388 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:07:21 +00:00
voroshil 848fa26ffa Fix redundant declaration warnings for variables already defined
in libvo/video_out.h



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24385 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 15:05:33 +00:00
diego 4e7f09313d Add comments to some #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24383 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 13:41:45 +00:00
voroshil ac6d51f005 Suboptions structure should be passed as array not as address of array.
patch from Bernd Ernesti mplayer-dev-eng at lists dot veego dot de




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24208 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 12:12:02 +00:00
voroshil f1fbca4bdd Automatic TV channels scanning ability for MPlayer.
Code is based on patch from Otvos Attila oattila at chello dot hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24125 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 16:09:30 +00:00
reimar 7c047631b1 Experimental negative panscan values
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23897 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:46:10 +00:00
reimar e94b93b2c4 Use a new variable for user-supplied monitor-aspect so we can overwrite
a value generated from pixel-aspect if resolution changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23896 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:42:20 +00:00
albeu f48a4beff0 Move loop_times into mpctx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23746 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 14:51:47 +00:00
reimar 0ff97c28e3 Fix config declarations so that things like rtc=no work in addition to nortc=yes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23507 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-08 07:49:03 +00:00
ben c31274e8b4 new -menu-chroot option that prevent OSD file selection menu to go to an unwanted location (yeah, chroot ;-))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23409 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-29 18:49:38 +00:00
ben b0615f0024 get rid of -menu-utf8 and -menu-unicode once for all, patch by Guillaume Lecerf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 15:17:56 +00:00
ben db48d5baff new -menu-keepdir option that allows libmenu file browser to always restart browsing from the last place we were instead of current dir
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 16:46:24 +00:00
ben 0e71ae2f5f support for hebrew through fribidi in libmenu (geexbox patch #580)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23246 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 15:59:53 +00:00
ben 7796893de0 support for unicode/utf8 in libmenu (geexbox patch #545)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23245 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 15:55:58 +00:00
cehoyos a2dda036d8 Make -monitorpixelaspect 1 the default.
Patch by Onur Küçük <onur.--.-.delipenguen.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23154 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 23:16:45 +00:00
rathann 259cfbe7e2 Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ‘mplayer_put_key’" warnings

Based on Attila's suggestions.
Approved by Uoti and Ivan.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-29 17:16:11 +00:00
reimar 74b70845a4 nomouseinput option should not depend on HAVE_X11.
Patch by Zuxy Meng (zuxy meng at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22442 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:26:43 +00:00
reimar b5f54a914d Apply ancient double-click patch that nobody cares to comment on.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-18 19:30:02 +00:00
diego 533eaf50e3 Remove misleading comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-10 16:58:42 +00:00
uau 544233bded Make compilation depending on USE_OSD unconditional.
USE_OSD was hardcoded to true in configure, manually turning it off
would break compilation, and most OSD-related code wasn't affected by it
anyway so it did nothing useful.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-22 19:21:16 +00:00
diego 2d8010498d Clarify messages for unavailable options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20917 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-14 11:14:03 +00:00