1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
reimar
acd409b4bf Win32 gui has the same m_option_print error handling bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:25:33 +00:00
diego
fba0b66ff9 Add explanatory comments to the #endif part of multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
zuxy
34704eb1dc Do not PostQuitMessage when destroying a child window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25313 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-06 02:52:59 +00:00
reimar
41ac28984c get/set video colors string is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25252 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:23:14 +00:00
zuxy
87db049a83 Better handling of win32 GUI thread:
1. Use _beginthreadex to create the GUI thread to avoid possible memory leak
   when linked to MS CRT.
2. Terminate the GUI thread in an cleaner way using PostThreadMessage()
   rather than the unrecommended TerminateThread().



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25020 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-11 08:14:57 +00:00
reimar
2e42b402b6 fopen is in stdio.h, so add this include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23816 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 12:15:10 +00:00
diego
3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego
d416c25c9b Add consistent GUI prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23705 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 20:55:05 +00:00
reimar
f2d1bd5166 Reuse linux code for reading png images for windows Gui,
thus also removing libpng dependency

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23284 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 09:11:54 +00:00
vayne
e5d16b4c4e add missing case value, fixes functionality when using some skins.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 22:09:53 +00:00
vayne
9d9952500e compilation fix for disabling dvd functionality, patch by <bangbangbear at gmail dot com>, slightly modified by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23165 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 22:09:01 +00:00
vayne
367dbc8384 header / declarations cleanup, also fixes broken compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23141 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 17:30:20 +00:00
diego
78012f3414 Consistently use quotes instead of angled brackets in #include
statements for non-system headers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23109 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 07:34:56 +00:00
diego
5e91f60b1e Use proper GPL header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23097 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 08:01:10 +00:00
diego
2e5553cb82 spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23096 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:48:03 +00:00
diego
5c9abf7f9f Gui --> gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00