Commit Graph

28040 Commits

Author SHA1 Message Date
reimar 23a8967a4c Reindent after previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28073 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 10:42:53 +00:00
reimar c4386a8333 Do not override the vo_dwidth/vo_dheight values in vo_w32_config
in -wid mode because we ignore the requested size in that case. 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28072 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 10:38:50 +00:00
gpoirier 9d580f6aa3 sync w/r28056
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28071 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 10:34:03 +00:00
reimar a3e78418b9 Cosmetics, whitespace and "... == NULL" to "!..."
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28070 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 09:58:11 +00:00
reimar 7ba61c19c3 Some whitespace and () cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28069 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 09:27:19 +00:00
gpoirier fda903e452 Pass "-f macho" to yasm when enabling YASM support on a 32-bits machine as
libavcodec/i386/x86inc.asm checks that __OUTPUT_FORMAT__ is 'macho' in
32-bits mode, not 'macho32'.
This is a workaround until FFmpeg code is fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28068 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 09:06:23 +00:00
reimar 518b38132d 100l, actually put the PTHREAD_CACHE define into config.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28067 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 20:07:13 +00:00
reimar f6b9f42516 Print ID_EXIT and exit reason message in identify mode when exiting.
Patch by rvm [rvm3000 ya com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28066 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 19:53:41 +00:00
reimar 27b167bb75 Remove resize_d3d call from render_d3d_frame that was made useless
by previous commit. If this is necessary e.g. to prevent flicker
while resizing, check_events should be called instead or even
better the functionality be moved to some higher layer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28065 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 15:03:19 +00:00
reimar bb89a7696d 100l, do not call check_events from resize_d3d since there should be
no reason to do it and it might call resize_d3d again which makes it
hard to guarantee that it works correctly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28064 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 14:51:46 +00:00
reimar 2d330d3c01 Cosmetics: Remove unnecessary ()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28063 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 09:46:08 +00:00
reimar ef4313fd77 Consistency cosmetics: do not compare against NULL in ifs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28062 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 09:40:09 +00:00
reimar e84d33f00f Cosmetics: remove spaces before argument (
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 09:38:24 +00:00
reimar bbc8a57160 Reorganize Direct3D initialization code.
Patch by Georgi Petrov [gogothebee gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28060 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 09:36:47 +00:00
diego 74f6d96443 vo_direct3d.o depends on w32_common.o.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28059 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 08:35:30 +00:00
diego d7291e499e Remove commented-out duplicate declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28058 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 00:26:14 +00:00
diego 563ae9f8eb Remove unused declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28057 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-02 00:21:37 +00:00
reimar 58e6100cc8 Add a note about some known issues with -vo sdl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28056 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-01 16:45:43 +00:00
reimar 5a0c4f3b61 Remove a lot of completely pointless mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28055 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-01 16:37:06 +00:00
kostya 5895532e51 FFmpeg now has RV40 decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28054 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-01 06:42:11 +00:00
diego 39f7129214 Use standard unsigned long type instead of u_long.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28053 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 13:37:42 +00:00
diego c612907d1c MNG demuxer by Stefan Schuermans, stefan blinkenarea org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28052 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 13:22:34 +00:00
diego 5750c01e25 whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28051 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 13:21:09 +00:00
nplourde 7baeb6bcfc use mmap instead of shmat for MPlayerOSX, patch by Adrian Stutz<adrian@sttz.ch>
Original thread:
date: Sun, Oct 12, 2008 at 10:32 PM
subject: [MPlayer-dev-eng] [PATCH] vo_macosx: use mmap instead of shmat for MPlayerOSX


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28050 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 12:55:11 +00:00
zuxy 54c23a5806 Correct detection of SSSE3 and SSE4a feature bits.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28049 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 09:17:21 +00:00
reimar bd7e915bf5 Move PTHREAD_CACHE define logic to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28048 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 17:04:36 +00:00
compn cdf2023d98 misc mplayer fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28047 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 15:26:36 +00:00
reimar e5fc5f99e9 Fix cross-compilation: autodetect correct nm tool
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28046 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 10:53:09 +00:00
diego 5e2bec3344 whitespace cosmetics: prettyprinting and indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28045 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 09:24:20 +00:00
gpoirier cfedb9374f factorize mouse hiding and screensaver disabling code
Based on the patch posted in thread:
from  Gregor Riepl %onitake A gmail P com%
date: Wed, Oct 29, 2008 at 7:26 PM
subject: Re: [MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28044 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-27 11:34:26 +00:00
uau 189995fb63 configure: Move AANDCT config.mak entry and add config.h #defines
Move the config.mak "CONFIG_AANDCT=yes" line to where other similar
features are, and add missing CONFIG_AANDCT and ENABLE_AANDCT #defines
to config.h (though current FFmpeg code works without them).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28043 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 18:49:16 +00:00
reimar 4d9dd439ab Fix compilation after FFmpeg r15940
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28042 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 18:17:55 +00:00
reimar 669b0697b0 Use D3DFMT_ constants where possible instead of MAKEFOURCC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28041 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 16:30:42 +00:00
reimar 513bd7461d Add support for RGB formats to vo_direct3d
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28040 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 16:27:39 +00:00
diego 614b6f25db Update Tremor comment regarding fixed-point mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28039 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-26 13:04:10 +00:00
cehoyos cc5e040641 Enable compilation with icc 11.0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28038 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-25 18:37:13 +00:00
cehoyos e3bf64337e Replace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfq
(x86_64), to fix generated code on ICC 11.0.
Original FFmpeg patch by Reimar.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28037 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-25 18:36:50 +00:00
reimar 16a685b00c 100l, OSD alpha textures were cleared to the wrong value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28036 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-25 18:24:23 +00:00
gpoirier a5581ec3b8 typo fix + readability improvement
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28035 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-25 09:54:34 +00:00
torinthiel 11c6b99a32 Another part of sync to 27843
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28034 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 22:42:19 +00:00
diego 649e7d30c6 Sync with latest FFmpeg changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28033 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 21:23:16 +00:00
compn f6e7167a76 add more informative comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28032 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 20:50:14 +00:00
diego 9051c1348d Remove unnecessary #ifdef around a struct and a bunch of extern declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28031 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 17:35:08 +00:00
gpoirier 0cee72fb5b now that we have a specific check to enable ao_macosx or not, don't let test
for vo_quartz set if ao_macosx should be enabled or not: it's redundant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28030 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 17:29:37 +00:00
gpoirier 3fa1eb2a60 add specific test to check if we can enable ao_macosx not matter how vo_quartz test may turn out
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28029 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 17:27:05 +00:00
diego c27cdb7288 Do not initialize fb_dev_fd to -1, similar to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28028 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 14:44:09 +00:00
diego 1add1d6597 cosmetics: Add/remove a few newlines similar to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28027 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 14:35:08 +00:00
gpoirier 76797a077c cosmetics (svn diff --diff-cmd diff -x '-duwbBE' gives no differences)
replace tabs by 4 spaces.
prettier intentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28026 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 14:29:32 +00:00
gpoirier 20011636d2 avoid putting several statements on a single line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28025 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 14:25:14 +00:00
gpoirier 40a450c69b Use doxygen-style comments in file header. Remove tabs usage.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28024 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 13:34:31 +00:00