Commit Graph

2631 Commits

Author SHA1 Message Date
diego 33f7abfe2c Improve error message when screen width and height are not set.
patch by Christian Ohm, chr.ohm gmx net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27802 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 11:47:46 +00:00
faust3 fe44156133 fixed image format detection for 15 bit color depths
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27796 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-17 10:01:44 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego a290af1657 Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:19:36 +00:00
faust3 beef14987b fixed overlay x and y calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27782 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:13:26 +00:00
faust3 c27f719237 Honour differences between src and dst stride for packed yuv
patch by Laurent <laurent.aml at gmail.com>
 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 22:28:19 +00:00
diego 4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego 9992cbd580 Surround conditionally used function with corresponding #ifdef, fixes:
libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:40:58 +00:00
diego 1d5af8c0da Remove redundant variable declaration, fixes the warning:
libvo/vo_winvidix.c:52: warning: redundant redeclaration of 'hWnd'
libvo/vo_winvidix.c:50: warning: previous declaration of 'hWnd' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27753 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:38:36 +00:00
diego 73357cc804 Add missing support for some multimedia keys to X11 backend code.
patch by Jorge Lopez, jorgelt gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27747 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 15:58:44 +00:00
cehoyos 22bb046adc Replace numeric constants by their defines.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27738 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:08:47 +00:00
diego e965e29432 Add missing #include for mplayer.h, fixes the warning:
libvo/vo_png.c:67: warning: implicit declaration of function 'exit_player'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27687 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 10:18:53 +00:00
reimar 10dc2e1429 Fix glAdjustAlignment parameter in glCreateClearTex
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27654 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 19:41:13 +00:00
reimar 0e99017da9 Change glCreateClearTex to use the same host data format as later uploads.
This fixes at least some of the massive performance problems the ATI drivers have.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27653 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 17:48:01 +00:00
ben 22322409dd add outdir sub-option to vo png
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27650 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 13:13:02 +00:00
reimar 7756839a14 Remove already disabled and probably long obsolete code that worked around an OpenBox bug.
Patch by Julien Danjou [ julien danjou info ]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27649 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 08:16:05 +00:00
reimar 0643fde0c3 Use already "prefetched" atoms instead of calling XInternAtom each time.
Patch by Julien Danjou [ julien danjou info ]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27648 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 08:14:28 +00:00
syrjala d4471e0a09 Update the copyright statement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27626 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:46:43 +00:00
syrjala b129179e5d Cosmetics:
- Convert tabs to spaces
- Remove trailing whitespace
- Remove useless comments


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27625 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:45:17 +00:00
syrjala 7c94b44308 Don't limit BES to non-synced single buffering when CRTC2 is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27624 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:43:24 +00:00
syrjala af709594ea Rename some variables and change some strings to make the CRTC1 code clearer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27623 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:41:08 +00:00
syrjala 654db62437 Add CRTC1 support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27622 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:39:03 +00:00
syrjala 9a00106a58 Remove BGR24 support since it has never worked anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27621 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:35:05 +00:00
syrjala d45397dbdd Eliminate void * arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27615 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 11:47:02 +00:00
diego 4ca1fa0a08 Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 05:40:29 +00:00
diego 3311a2ae9c Replace casual GPL notices by proper license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:09:51 +00:00
diego aa598f4837 license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27540 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:06:26 +00:00
diego 8d275a4b8d license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27539 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 13:57:35 +00:00
diego 434a2063ed Remove wrong compilation instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27538 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 13:57:00 +00:00
diego 83651c8bfa Remove Windows-specific #ifdefs, the file does not compile on MinGW anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27513 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:34:27 +00:00
diego 0e970b49f0 Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'
preprocessor condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27506 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 07:35:05 +00:00
diego 3af860b877 Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.
This is what it is called in FFmpeg and more consistent with other
names for similar conditionals. This fixes a potential compilation
failure on MinGW, as described in Bugzilla #1262.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 20:05:08 +00:00
reimar d54c1f0309 -geometry support for -vo fbdev.
Patch by Sander (thrill12 gmx net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27475 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 17:26:16 +00:00
diego 511729a3a2 Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27463 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-14 15:54:53 +00:00
diego 20e0b5c831 100l: Rename missed preprocessor directives from a HAVE_ prefix to CONFIG_.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27462 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-14 15:48:11 +00:00
diego c324966059 Remove duplicated prototype for XShmGetEventBase(), because
- it is used in other places without checking,
- it is a workaround for a bug elsewhere,
- if the problem is real at all, there should be a proper configure check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27444 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-09 14:56:09 +00:00
ben f56b633045 Add NV12 colorspace support to VIDIX driver.
patch by Magnus Damm <magnus dot damm at gmail dot com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27430 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:28:28 +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 5641e60698 Ahem, the MACOSX_FINDER_SUPPORT directive was renamed to MACOSX_FINDER.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27426 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:57:40 +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 473e2824cb Rename all preprocessor directives related to Apple / Mac OS X.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:42:26 +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
ben bfd89d7610 Add video driver for Nintendo Wii/GameCube.
Original patch by Jing Liu <fatersh-1@yahoo.com>,
based on vo_fbdev.c and adapted to Nintendo's specific GPU.

This driver handles dedicated ATI GPU, which can be found in:
 - Nintendo GameCube (ATI LSI Flipper @ 162 MHz)
 - Nintendo Wii (ATI Hollywood @ 243 MHz)

Flipper and Hollywood chipsets are pretty similar, except from clock speed:
 - Embedded framebuffer is 2MB.
 - Texture cache is 1MB.
 - Vertex cache is 0.1 MB.
 - Framebuffer is YUY2, not RGB.
 - Best resolution is 480p (854x480)
          


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27407 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 20:04:03 +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 52d358e3dc Set HAVE_DVB in configure when HAVE_DVB_HEAD is defined
instead of doing in redundantly in DVB-specific files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27401 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 21:39:29 +00:00
diego 429bf7a9dc cosmetics: typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27400 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 20:35:29 +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