Commit Graph

2576 Commits

Author SHA1 Message Date
diego b5fb7e831e Add a separate definition for quartz.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26245 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:49:14 +00:00
diego f6afdbca59 Consistently use __APPLE__ instead of MACOSX as preprocessor condition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26243 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:23:48 +00:00
diego 5e49bb2dd2 MACOSX_COREVIDEO --> corevideo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26241 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:19:38 +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
reimar 5979388565 Fix and simplify lscale=2 (bicub_x) scaler, produced funny
noise on ATI cards due to cdelta.y never being set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26227 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-12 15:17:06 +00:00
iive ad76dcfb58 Fix wrong check for vidix usage.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26206 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-09 18:49:31 +00:00
iive 66fafa133f Don't use void * arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26205 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-09 10:35:45 +00:00
iive ea92f386c6 Handle vga_init() error and output error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26204 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-09 10:34:04 +00:00
diego c5001347c2 This header uses parts of stdint.h, so #include it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26195 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 20:25:26 +00:00
diego d04df10807 Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26194 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 20:07:15 +00:00
diego 01b301602c Remove unnecessary #ifdef nesting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26192 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 17:20:04 +00:00
diego c03c4b5431 Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:31:51 +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 878e9ef324 Add missing multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 00:12:02 +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
uau 1a3fb6c21e libvo: change asm syntax to use ASMALIGN and " # nop"
Change ".balign 16\n\t" to ASMALIGN(4) and "/nop" to " # nop". The new
version is what other code in MPlayer uses, and works with old
assembler versions like that used on OS X.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26005 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:52:34 +00:00
cehoyos e78f2ea6dc Revert accidentially committed line of r25994.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25995 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:39:49 +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 7a6d302f42 Try harder to find OpenGL functions on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25985 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:37:47 +00:00
reimar 19578c6960 Slightly document alpha for OSD color
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25984 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:01:34 +00:00
reimar 2d79c4c109 Support alpha for vo gl osdcolor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25983 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:00:01 +00:00
reimar 875d963649 Remove an extern for a variable that no longer exists
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25982 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:23:21 +00:00
reimar 8c1a56e57a Remove left-over extern definitions that should not be there
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25981 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:21:25 +00:00
reimar b8abe420bc Make some variables static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25978 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:58:05 +00:00
reimar 6201d6027d Avoid a useless extra pointer variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25977 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:55:15 +00:00
reimar 7c763876c7 Do not uselessly erase background, OpenGL will take care of drawing everything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25976 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:47:54 +00:00
reimar 2272b20c3d Avoid -wid message processing blocking MPlayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25974 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 16:49:24 +00:00
reimar c5decb0718 Forward mouse messages to -wid Window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25972 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 10:01:25 +00:00
reimar a09d0bac78 Make sure the -wid window does not get notified when we destroy our attached child window.
Previous behaviour seems to cause QT to do something stupid which makes
DestroyWindow hang (SMPlayer is an application where this happened).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25966 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 14:47:10 +00:00
reimar 83834ac968 Hack: Create a child window for Windows OpenGL with -wid, since (esp. nVidia)
drivers have problems drawing in other processes' windows. 

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25965 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 14:14:35 +00:00
reimar 398e1c1595 Add aspect_fit declaration missing for w32_common.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25959 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-07 21:04:17 +00:00
reimar 8b068da7ad Implement keepaspect for Windows OpenGL vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25950 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-02 17:22:07 +00:00
reimar 949787e410 Make aspect adjustment calculation simpler and more flexible.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25949 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-02 17:21:19 +00:00
reimar ea8ae01ee0 Redraw display on toggling border
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25944 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-01 12:22:12 +00:00
reimar 6d879f70c7 Always redraw video on resize.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25943 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-31 00:07:28 +00:00
reimar 2b9d7e2bdb Avoid a MANGLE, there is no register pressure and the generated code
should be no worse.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25935 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-30 18:52:59 +00:00
reimar 174aeba480 Allow for larger fragment programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25913 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-29 18:00:20 +00:00
diego fe9ec3ffdd Consistently use uppercase filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:32:52 +00:00
diego f7906235ad Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25889 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:01:19 +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 e9548a5aec Add a few const attributes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25838 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 18:54:14 +00:00
reimar 2b316697f3 Avoid some pointer conversion warnings (the code is messy but not wrong)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25815 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:50:50 +00:00
reimar b34d4097bb Add missing vo_w32_border prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25814 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:41:50 +00:00
reimar da28fa2ab2 Fix some function types from unspecified to empty argument list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25813 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:40:15 +00:00
reimar b231e1cc32 Remove redundant declarations (already in video_out.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25812 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:38:18 +00:00
reimar 5558291ae3 -panscan should also work for right and left borders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25810 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 18:12:10 +00:00
reimar 51d433ec9b Some reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 18:10:06 +00:00
reimar ae813d2b37 Fix a coefficient for lscale=5 OpenGL mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25797 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 14:20:56 +00:00
reimar ce3b1606ab Fix warning:
vo_directfb2.c:553: warning: passing argument 2 of ‘dfb->EnumVideoModes’ from incompatible pointer type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:25:41 +00:00
reimar db95698364 Avoid void* arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:17:04 +00:00
reimar b5186a059e Simplify and silence lots of warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25790 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:09:33 +00:00
reimar 34565b09a6 Fix using both lscale and cscale 4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 10:10:05 +00:00
reimar 6a6c3d8cbc Add a fragment program for 5x5 unsharp masking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25786 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 19:05:29 +00:00
reimar 932f9595bb Remove leftover backslash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25785 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:38:02 +00:00
reimar 3521950ba9 Simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:37:18 +00:00
reimar 09e3d23298 Use the same unsharp filter template for 2D and RECT textures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25783 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:34:10 +00:00
reimar ab2518c5fe Small typo in message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25782 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:16:32 +00:00
diego e4f2123310 Remove broken test program that likely never worked.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25781 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 01:57:40 +00:00
reimar da44633714 Fix OpenGL unsharp filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25773 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-16 20:36:01 +00:00
reimar 45c0df9bcb Create/allocate conversion textures before scaler textures.
Allows overriding gamma ramp texture also when using a non-trivial scaler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25758 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 18:14:00 +00:00
reimar 1fbd767ef6 Add experimental unsharp-mask OpenGL scaler. Certainly not yet perfect.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25757 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 17:59:20 +00:00
reimar 6fed08aee3 Document vo gl lscale=3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25756 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 17:54:48 +00:00
reimar 649027b817 Add a forgotten case to create_scaler_textures, avoids an incorrect warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25755 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 17:51:21 +00:00
reimar 058d1f0886 Fix the bug where the window would become smaller each time vo_ontop is toggled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25747 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 21:01:30 +00:00
rik 1045dcfb00 fix bug in error message (found by Diego through a compiler warning)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 00:10:02 +00:00
reimar a84db25ae4 Use a transform_color function to reduce code duplication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 16:30:41 +00:00
reimar 7172339ff9 Write functions used by send_mpeg_*_packet may _not_ modify data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 16:05:04 +00:00
uau b5aa5692cd Remove unnecessary <signal.h> includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 01:17:49 +00:00
ulion 5ad67a4f7c Set freetype flag in the font_desc_t when using a freetype font.
Patched by Guillaume LECERF <foxcore A gmail P com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25640 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 13:29:13 +00:00
reimar 91ba3d6531 Remove some now unused screensaver stuff code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25638 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:22:03 +00:00
reimar 3259a15f61 Remove most of the messy screensaver code in favour of only XResetScreenSaver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25637 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:18:27 +00:00
reimar f9b1151801 Use a screensaver_off variable to save current state and avoid
uselessly disabling twice.
Also needed for a future patch.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25636 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:18:17 +00:00
diego f4ac29f285 Remove changelog from file header, we have revision control for this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25624 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:58:02 +00:00
diego 64be034b0b cosmetics: Whitespace changes, add comments to some #endif directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25623 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:57:26 +00:00
diego e88c64c746 Relicense file to GPL v2 or later with the permission of Rudolf Marek,
the author and update his email contact address.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25591 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 23:35:19 +00:00
nicodvb 1b3cb7845a when :card isn't specified by the user search the first available card
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25586 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 20:34:48 +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
diego b88dc34b6f consistency cosmetics: Do not #define multiple inclusion guards to 1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25577 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:11:08 +00:00
diego d53ff2ca72 Consistently use just the name of the #ifdef directive in #endif comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25574 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:00:20 +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
diego da7cc29d3f Relicense files marked as GPL v2 to GPL v2 or later.
Done with permission from Nick Kurshev, the author.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25559 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 13:40:08 +00:00
diego c98db3f442 Relicense files written by Nick Kurshev and marked as "GPL v2" to
"GPL v2 or later" with permission from Nick.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25555 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 22:40:24 +00:00
diego 71449efc89 Add missing #include, fixes the warning:
vo_xvr100.c: In function 'draw_osd':
vo_xvr100.c:346: warning: implicit declaration of function 'vo_draw_text'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25553 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 12:19:34 +00:00
diego 98a860905e Remove unused variable, fixes the warning:
vo_xvr100.c:139: warning: unused variable 'i'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25552 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 12:17:23 +00:00
diego 8792b72b1e Remove redundant extern declarations, fixes the warnings:
vo_vesa.c:55: warning: redundant redeclaration of #monitor_hfreq_str#
video_out.h:252: warning: previous declaration of #monitor_hfreq_str# was here
vo_vesa.c:56: warning: redundant redeclaration of #monitor_vfreq_str#
video_out.h:253: warning: previous declaration of #monitor_vfreq_str# was here
vo_vesa.c:57: warning: redundant redeclaration of #monitor_dotclock_str#
video_out.h:254: warning: previous declaration of #monitor_dotclock_str# was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25551 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 12:12:47 +00:00
diego 8764815186 Remove unused static variables, fixes the warnings:
vo_bl.c: At top level:
vo_bl.c:64: warning: 'yoff' defined but not used
vo_bl.c:64: warning: 'stride' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 11:07:53 +00:00
diego 6a7f407a96 Remove unused variables, fixes the warnings:
vo_bl.c: In function 'draw_slice':
vo_bl.c:329: warning: unused variable 'src2'
vo_bl.c:328: warning: unused variable 'src1'
vo_bl.c:325: warning: unused variable 'j'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25548 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 11:05:53 +00:00
diego 09260c18d1 Disable unused code, fixes the warning:
vesa_lvo.c: At top level:
vesa_lvo.c:248: warning: 'draw_alpha' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25547 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 10:54:04 +00:00
diego 1dabdaa11e Add missing #include for vo_draw_text.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 10:52:57 +00:00
diego 2bc0ac1444 Do not duplicate MJpegContext struct, #include the proper header instead.
This also fixes the warnings:
jpeg_enc.c:342: warning: implicit declaration of function 'ff_mjpeg_encode_init'
jpeg_enc.c:384: warning: implicit declaration of function 'ff_mjpeg_encode_picture_header'
jpeg_enc.c:489: warning: implicit declaration of function 'ff_mjpeg_encode_picture_trailer'
jpeg_enc.c:500: warning: implicit declaration of function 'ff_mjpeg_encode_close'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25545 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 10:49:43 +00:00
diego 611e0b9dd0 Add missing #include, fixes the warning:
aspecttest.c: In function 'main':
aspecttest.c:19: warning: implicit declaration of function 'atoi'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25544 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 10:32:33 +00:00
diego 021fe627dc Use proper length specifiers in mp_msg calls, fixes the warnings:
vo_zr.c: In function 'init_zoran':
vo_zr.c:228: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
vo_zr.c:228: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
vo_zr.c:237: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
vo_zr.c:237: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
vo_zr.c:241: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
vo_zr.c:241: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25539 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-28 23:25:02 +00:00
reimar 087dbfe99f Set vo_mouse_autohide in gl and gl2 vos, so the mouse hiding behaviour
becomes the same as for the other vos using X11.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25513 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 20:17:57 +00:00
reimar 36928c82e1 Add missing X11/extensions/scrnsaver.h include
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25510 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:51:05 +00:00
ulion 28beb7c155 Do not send mouse movements events in root win mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25496 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 14:55:26 +00:00
reimar defbb2a545 Add support for XScreenSaverSuspend
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25494 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 11:09:43 +00:00
reimar 885bc7c7e1 Move more variables into the block where they are used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 12:57:36 +00:00
reimar a3816c913b Move a variable to where it is used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 12:51:24 +00:00