mplayer.git
11 years agoFix HAVE_VIS vs. HAVE_MVI typo, SPARC has MVI, not VIS.
diego [Mon, 24 Nov 2008 08:29:34 +0000 (08:29 +0000)]
Fix HAVE_VIS vs. HAVE_MVI typo, SPARC has MVI, not VIS.
patch by Alexis Ballier, alexis.ballier gmail com

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28013 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agosync w/r27979
gpoirier [Sun, 23 Nov 2008 22:01:54 +0000 (22:01 +0000)]
sync w/r27979

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28012 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoClear the whole window on resize in vo_x11 since we do not
reimar [Sun, 23 Nov 2008 20:49:05 +0000 (20:49 +0000)]
Clear the whole window on resize in vo_x11 since we do not
yet know how large the borders will be.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28011 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSimplify vo_x11 check_events function
reimar [Sun, 23 Nov 2008 20:47:04 +0000 (20:47 +0000)]
Simplify vo_x11 check_events function

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28010 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDo not draw in window if our image has not yet been adjusted to the new window size.
reimar [Sun, 23 Nov 2008 20:39:15 +0000 (20:39 +0000)]
Do not draw in window if our image has not yet been adjusted to the new window size.
Fixes some cases of borders not being black in fullscreen when fullscreen image
is scaled down.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28009 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unnecessary xf86vmode.h include.
reimar [Sun, 23 Nov 2008 20:20:51 +0000 (20:20 +0000)]
Remove unnecessary xf86vmode.h include.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28008 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove some usnused variables and commented-out code.
reimar [Sun, 23 Nov 2008 20:19:06 +0000 (20:19 +0000)]
Remove some usnused variables and commented-out code.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28007 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse aspect.c code in vo_x11.c. Removes some inconsistencies in -wid handling.
reimar [Sun, 23 Nov 2008 20:17:46 +0000 (20:17 +0000)]
Use aspect.c code in vo_x11.c. Removes some inconsistencies in -wid handling.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28006 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoPatch to improve/consistify coding style.
reimar [Sun, 23 Nov 2008 18:50:39 +0000 (18:50 +0000)]
Patch to improve/consistify coding style.
Patch by Georgi Petrov [gogothebee gmail com]

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28005 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix indentation
reimar [Sun, 23 Nov 2008 18:45:01 +0000 (18:45 +0000)]
Fix indentation

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28004 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoLock/unlock surface only once even when drawing many slices.
reimar [Sun, 23 Nov 2008 18:42:29 +0000 (18:42 +0000)]
Lock/unlock surface only once even when drawing many slices.
Patch originally by Jim Hauxwell [james dattrax co.uk]

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28003 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove locked_rect from stack to priv struct in preparation for following patch.
reimar [Sun, 23 Nov 2008 18:24:53 +0000 (18:24 +0000)]
Move locked_rect from stack to priv struct in preparation for following patch.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28002 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove the StretchRect call from draw_slices to render_d3d_frame.
reimar [Sun, 23 Nov 2008 18:13:56 +0000 (18:13 +0000)]
Move the StretchRect call from draw_slices to render_d3d_frame.
This avoids calling it (and BeginScene/EndScene) many times with
slices and also avoids code duplication.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28001 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove pointless is_cfG_finished variable.
reimar [Sun, 23 Nov 2008 17:25:46 +0000 (17:25 +0000)]
Remove pointless is_cfG_finished variable.
Patch by Georgi Petrov [gogothebee gmail com]

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@28000 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoHandle fb_dev_name similar to vo_fbdev in vo_wii.
diego [Sun, 23 Nov 2008 14:57:51 +0000 (14:57 +0000)]
Handle fb_dev_name similar to vo_fbdev in vo_wii.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27999 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMerge another if condition check to lessen differences to vo_fbdev.c.
diego [Sun, 23 Nov 2008 14:32:39 +0000 (14:32 +0000)]
Merge another if condition check to lessen differences to vo_fbdev.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27998 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse static variable instead of #define to lessen differences to vo_fbdev.c.
diego [Sun, 23 Nov 2008 14:15:54 +0000 (14:15 +0000)]
Use static variable instead of #define to lessen differences to vo_fbdev.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27997 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoGet rid of TTY_DEV_NAME #define to lessen differences to vo_fbdev.c.
diego [Sun, 23 Nov 2008 13:55:23 +0000 (13:55 +0000)]
Get rid of TTY_DEV_NAME #define to lessen differences to vo_fbdev.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27996 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMerge another if condition check to lessen differences to vo_fbdev.c.
diego [Sun, 23 Nov 2008 13:51:16 +0000 (13:51 +0000)]
Merge another if condition check to lessen differences to vo_fbdev.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27995 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMerge if condition check to lessen differences to vo_fbdev.c.
diego [Sun, 23 Nov 2008 13:42:41 +0000 (13:42 +0000)]
Merge if condition check to lessen differences to vo_fbdev.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27994 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove debug function.
diego [Sun, 23 Nov 2008 13:41:57 +0000 (13:41 +0000)]
Remove debug function.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27993 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: one more round of whitespace changes
diego [Sun, 23 Nov 2008 13:23:14 +0000 (13:23 +0000)]
cosmetics: one more round of whitespace changes

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27992 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: further reformatting to lessen differences to vo_fbdev.c
diego [Sun, 23 Nov 2008 13:19:43 +0000 (13:19 +0000)]
cosmetics: further reformatting to lessen differences to vo_fbdev.c

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27991 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: complete reformatting, tabs to spaces, etc.
diego [Sun, 23 Nov 2008 13:06:37 +0000 (13:06 +0000)]
cosmetics: complete reformatting, tabs to spaces, etc.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27990 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Lessen differences to vo_wii.c.
diego [Sun, 23 Nov 2008 13:02:10 +0000 (13:02 +0000)]
cosmetics: Lessen differences to vo_wii.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27989 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: consistent formatting for if/else/case
diego [Sun, 23 Nov 2008 12:46:42 +0000 (12:46 +0000)]
cosmetics: consistent formatting for if/else/case

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27988 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoReimplement -endchapter support again for -dump*, it was broken in r25987.
reimar [Sun, 23 Nov 2008 12:45:07 +0000 (12:45 +0000)]
Reimplement -endchapter support again for -dump*, it was broken in r25987.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27987 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSimplify handling of VOFLAG_MODESWITCHNG, merge assignment and declaration
reimar [Sun, 23 Nov 2008 12:30:39 +0000 (12:30 +0000)]
Simplify handling of VOFLAG_MODESWITCHNG, merge assignment and declaration

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27986 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unused flip_flag variable
reimar [Sun, 23 Nov 2008 12:25:41 +0000 (12:25 +0000)]
Remove unused flip_flag variable

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27985 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Reformat some lines to lessen differences to vo_fbdev.c.
diego [Sun, 23 Nov 2008 12:08:18 +0000 (12:08 +0000)]
cosmetics: Reformat some lines to lessen differences to vo_fbdev.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27984 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Move up uninit() to avoid a forward declaration.
diego [Sun, 23 Nov 2008 12:01:48 +0000 (12:01 +0000)]
cosmetics: Move up uninit() to avoid a forward declaration.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27983 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: consistent function declarations.
diego [Sun, 23 Nov 2008 11:59:37 +0000 (11:59 +0000)]
cosmetics: consistent function declarations.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27982 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Remove tabs and trailing whitespace.
diego [Sun, 23 Nov 2008 11:58:11 +0000 (11:58 +0000)]
cosmetics: Remove tabs and trailing whitespace.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27981 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unused variables and the related warnings along with them.
diego [Sun, 23 Nov 2008 11:53:17 +0000 (11:53 +0000)]
Remove unused variables and the related warnings along with them.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27980 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMake description of the option more clear as suggested by
bircoph [Sat, 22 Nov 2008 13:31:55 +0000 (13:31 +0000)]
Make description of the option more clear as suggested by
Reimar Döffinger.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27979 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove a aspect calculation line.
reimar [Fri, 21 Nov 2008 23:22:53 +0000 (23:22 +0000)]
Remove a aspect calculation line.
It is useless because with the new API enabled by VOCTRL_UPDATE_SCREENINFO it
is not necessary because it is already done in video_out.c:config_video_out.
Secondly, the removal of the aspect_save_prescale triggered a regression because of
it, with -wid the window would not be filled completely initially.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27978 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSimplify handling of "flags" parameter
reimar [Fri, 21 Nov 2008 23:17:26 +0000 (23:17 +0000)]
Simplify handling of "flags" parameter

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27977 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd forgotten initialization if Flip_Flag to 0.
reimar [Fri, 21 Nov 2008 23:14:38 +0000 (23:14 +0000)]
Add forgotten initialization if Flip_Flag to 0.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27976 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: typo fixes
diego [Fri, 21 Nov 2008 19:32:19 +0000 (19:32 +0000)]
cosmetics: typo fixes

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27975 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Write revision number with leading 'r'.
diego [Fri, 21 Nov 2008 18:55:00 +0000 (18:55 +0000)]
cosmetics: Write revision number with leading 'r'.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27974 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoadd direct3d docs, ok'd by Guillaume
compn [Fri, 21 Nov 2008 13:03:22 +0000 (13:03 +0000)]
add direct3d docs, ok'd by Guillaume

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27973 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSynced with r27967.
bircoph [Fri, 21 Nov 2008 12:23:10 +0000 (12:23 +0000)]
Synced with r27967.
These changes are cosmetics only.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27972 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix and enable panscan handling for vo_direct3d
reimar [Fri, 21 Nov 2008 12:22:16 +0000 (12:22 +0000)]
Fix and enable panscan handling for vo_direct3d

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27971 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Consistently place HEADERS before OBJS in all Makefiles.
diego [Thu, 20 Nov 2008 22:54:30 +0000 (22:54 +0000)]
cosmetics: Consistently place HEADERS before OBJS in all Makefiles.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27970 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd all still missing lines, full sync against r27967
reynaldo [Thu, 20 Nov 2008 19:32:08 +0000 (19:32 +0000)]
Add all still missing lines, full sync against r27967

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27969 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTrivial, add some more lines that were missing
reynaldo [Thu, 20 Nov 2008 19:03:53 +0000 (19:03 +0000)]
Trivial, add some more lines that were missing

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27968 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTrivial, Cosmetics
reynaldo [Thu, 20 Nov 2008 18:28:22 +0000 (18:28 +0000)]
Trivial, Cosmetics

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27967 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCOSMETICS, More line shifting to match English master
reynaldo [Thu, 20 Nov 2008 16:15:25 +0000 (16:15 +0000)]
COSMETICS, More line shifting to match English master

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27966 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTRIVIAL, add some more missing lines
reynaldo [Thu, 20 Nov 2008 16:06:52 +0000 (16:06 +0000)]
TRIVIAL, add some more missing lines

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27965 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCOSMETICS, More line shifting to match English master
reynaldo [Thu, 20 Nov 2008 16:03:52 +0000 (16:03 +0000)]
COSMETICS, More line shifting to match English master

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27964 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTRIVIAL, some missing lines and a grammar correction
reynaldo [Thu, 20 Nov 2008 15:39:51 +0000 (15:39 +0000)]
TRIVIAL, some missing lines and a grammar correction

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27963 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCosmetics: rename variables etc. in vo_direct3d.c
reimar [Thu, 20 Nov 2008 15:13:14 +0000 (15:13 +0000)]
Cosmetics: rename variables etc. in vo_direct3d.c
Patch by Georgi Petrov (gogothebee gmail com)

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27962 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFactor common code like -wid handling, vo_gc creation etc. out into
reimar [Wed, 19 Nov 2008 20:19:25 +0000 (20:19 +0000)]
Factor common code like -wid handling, vo_gc creation etc. out into
x11_common.c

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27961 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd detection of x86 CPU features SSSE3 and SSE4a.
gpoirier [Wed, 19 Nov 2008 16:41:59 +0000 (16:41 +0000)]
Add detection of x86 CPU features SSSE3 and SSE4a.
Patch by Zhou, Zongyi %zz65 A cornell P edu%
Original thread:
date: Wed, Nov 19, 2008 at 4:22 PM
subject: Re: [MPlayer-dev-eng] [PATCH] yadif SSE2/SSSE3 optimization

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27960 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSimplify conditions in direct3d vo: remove == 1, change == 0 to ! etc.
reimar [Wed, 19 Nov 2008 13:39:07 +0000 (13:39 +0000)]
Simplify conditions in direct3d vo: remove == 1, change == 0 to ! etc.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27959 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCosmetics, mostly line shifting to match English master
reynaldo [Tue, 18 Nov 2008 20:34:07 +0000 (20:34 +0000)]
Cosmetics, mostly line shifting to match English master

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27958 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd missing "static" qualifiers to vo_direct3d
reimar [Tue, 18 Nov 2008 14:51:54 +0000 (14:51 +0000)]
Add missing "static" qualifiers to vo_direct3d

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27957 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years ago100l, the video_out_drivers list must be sorted by priority, not
reimar [Tue, 18 Nov 2008 13:18:55 +0000 (13:18 +0000)]
100l, the video_out_drivers list must be sorted by priority, not
alphabetically. For now, vo_directx should be preferred over
vo_direct3d.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27956 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDirect3D based video_out module.
reimar [Tue, 18 Nov 2008 12:23:42 +0000 (12:23 +0000)]
Direct3D based video_out module.
Patch by Georgi Petrov (gogothebee gmail com)
Panscan handling is still disabled and needs to be fixed for negative
-panscan.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27955 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDoxygen documentation for w32_common.c
reimar [Tue, 18 Nov 2008 12:23:23 +0000 (12:23 +0000)]
Doxygen documentation for w32_common.c
Patch by Georgi Petrov (gogothebee gmail com) with several modifications by me.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27954 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoOn OpenBSD socklen_t is defined at sys/types.h, so latter is added
bircoph [Tue, 18 Nov 2008 09:41:31 +0000 (09:41 +0000)]
On OpenBSD socklen_t is defined at sys/types.h, so latter is added
to the header search path.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27953 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTrivial, Cosmetics
reynaldo [Tue, 18 Nov 2008 03:41:54 +0000 (03:41 +0000)]
Trivial, Cosmetics

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27952 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTrivial, Cosmetics
reynaldo [Tue, 18 Nov 2008 03:17:11 +0000 (03:17 +0000)]
Trivial, Cosmetics

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27951 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd some more missing messages
reynaldo [Tue, 18 Nov 2008 03:06:27 +0000 (03:06 +0000)]
Add some more missing messages

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27950 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years ago100l, missing ' s' in sed command, probably caused all decoders to be
reimar [Mon, 17 Nov 2008 18:20:20 +0000 (18:20 +0000)]
100l, missing ' s' in sed command, probably caused all decoders to be
disabled when zlib is not available.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27949 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoOnly enable CONFIG_FFT_MMX if both yasm and MMX are enabled.
diego [Mon, 17 Nov 2008 15:25:33 +0000 (15:25 +0000)]
Only enable CONFIG_FFT_MMX if both yasm and MMX are enabled.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27948 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSet _have_yasm to "no" if yasm detection failed.
diego [Mon, 17 Nov 2008 15:02:24 +0000 (15:02 +0000)]
Set _have_yasm to "no" if yasm detection failed.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27947 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove a useless XGetGeometry call, the X11 event handling already
reimar [Mon, 17 Nov 2008 13:12:01 +0000 (13:12 +0000)]
Remove a useless XGetGeometry call, the X11 event handling already
updates vo_dwidth/vo_dheight.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoPut variable declaration inside an #ifdef to avoid an unused variable warning.
diego [Mon, 17 Nov 2008 10:33:59 +0000 (10:33 +0000)]
Put variable declaration inside an #ifdef to avoid an unused variable warning.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27945 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAllow compilation with icc 10.1.
cehoyos [Mon, 17 Nov 2008 10:16:28 +0000 (10:16 +0000)]
Allow compilation with icc 10.1.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27944 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix build: Remove some references to sections that no longer exist.
diego [Sun, 16 Nov 2008 23:59:47 +0000 (23:59 +0000)]
Fix build: Remove some references to sections that no longer exist.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27943 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoGet rid of (besides useless assignments) unused XSizeHints variable
reimar [Sun, 16 Nov 2008 17:16:08 +0000 (17:16 +0000)]
Get rid of (besides useless assignments) unused XSizeHints variable
in vo_xvmc.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27942 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix missing -DARCH_X86_64 for yasm on x86_64.
reimar [Sun, 16 Nov 2008 16:59:17 +0000 (16:59 +0000)]
Fix missing -DARCH_X86_64 for yasm on x86_64.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27941 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd yasm support to the build system.
bircoph [Sun, 16 Nov 2008 13:04:16 +0000 (13:04 +0000)]
Add yasm support to the build system.
This allows to use yasm assembler optimizations from FFmpeg code,
in particular, from libavcodec/fft.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27940 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agosynced with r27938
Gabrov [Sun, 16 Nov 2008 12:20:14 +0000 (12:20 +0000)]
synced with r27938

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27939 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse 64 bit numbers for file positions in the seek function in audio demuxer.
reimar [Sun, 16 Nov 2008 10:20:58 +0000 (10:20 +0000)]
Use 64 bit numbers for file positions in the seek function in audio demuxer.
Hopefully fixes seeking in wav files in-between 2 and 4 GB.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27938 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove explicit setting of vo_ontop since that is already done by vo_x11_create_vo_window
reimar [Sat, 15 Nov 2008 23:09:31 +0000 (23:09 +0000)]
Remove explicit setting of vo_ontop since that is already done by vo_x11_create_vo_window

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27937 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove a duplicated vo_x11_selectinput_witherr
reimar [Sat, 15 Nov 2008 22:49:49 +0000 (22:49 +0000)]
Remove a duplicated vo_x11_selectinput_witherr

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27936 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agorespect -vf dsize etc. also for -rootwin, just like vo_xv does.
reimar [Sat, 15 Nov 2008 22:48:41 +0000 (22:48 +0000)]
respect -vf dsize etc. also for -rootwin, just like vo_xv does.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27935 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix phrase to maintain consistency.
bircoph [Sat, 15 Nov 2008 22:34:41 +0000 (22:34 +0000)]
Fix phrase to maintain consistency.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27934 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSync with vo_x11: make sure we get expose events even when drawing to the root window.
reimar [Sat, 15 Nov 2008 22:33:36 +0000 (22:33 +0000)]
Sync with vo_x11: make sure we get expose events even when drawing to the root window.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27933 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSynced with r26763.
bircoph [Sat, 15 Nov 2008 22:25:11 +0000 (22:25 +0000)]
Synced with r26763.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27932 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoOn Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,
gpoirier [Sat, 15 Nov 2008 20:37:08 +0000 (20:37 +0000)]
On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,
use cpuinfo instead.
This allows MPlayer to get one step closer to building in 64 bits mode on Darwin,
if one passes --target=x86_64-darwin to configure.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27931 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years ago100l, stream->cache_pid can not be used directly in pthread_create,
reimar [Sat, 15 Nov 2008 19:43:39 +0000 (19:43 +0000)]
100l, stream->cache_pid can not be used directly in pthread_create,
it has the wrong type. Luckily we currently do not need the value anyway.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27930 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove a nonsensical "else" for the video mode switching case.
reimar [Sat, 15 Nov 2008 19:14:09 +0000 (19:14 +0000)]
Remove a nonsensical "else" for the video mode switching case.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27929 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse pthreads for the cache on Cygwin, since _beginthread is not available
reimar [Sat, 15 Nov 2008 19:08:50 +0000 (19:08 +0000)]
Use pthreads for the cache on Cygwin, since _beginthread is not available
and the previous CreateThread method would probably leak memory here, too.
Also pthreads seems to be the official Cygwin threading API.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27928 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoinclude limits.h for INT_MAX.
reimar [Sat, 15 Nov 2008 19:06:25 +0000 (19:06 +0000)]
include limits.h for INT_MAX.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27927 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove now unused variables.
reimar [Sat, 15 Nov 2008 19:03:21 +0000 (19:03 +0000)]
Remove now unused variables.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27926 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.
reimar [Sat, 15 Nov 2008 18:58:14 +0000 (18:58 +0000)]
Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.
This fixes the -vm bug that the created window is too small.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27925 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSimplify vo_vm_switch and vo_vm_close, everyone was using the (almost) same
reimar [Sat, 15 Nov 2008 18:56:25 +0000 (18:56 +0000)]
Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) same
boiler-plate code with them, just with different bugs.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27924 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSet modified window position and monitor aspect in vo_vm_switch instead of in
reimar [Sat, 15 Nov 2008 18:28:35 +0000 (18:28 +0000)]
Set modified window position and monitor aspect in vo_vm_switch instead of in
individual vo drivers.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27923 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoGet rid of (besides useless assignments) unused XSizeHints variable
reimar [Sat, 15 Nov 2008 18:14:03 +0000 (18:14 +0000)]
Get rid of (besides useless assignments) unused XSizeHints variable

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27922 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSet modeline_width/height to sane values in vo_vm_switch even when
reimar [Sat, 15 Nov 2008 18:11:10 +0000 (18:11 +0000)]
Set modeline_width/height to sane values in vo_vm_switch even when
the XF86VidMode extension is not available.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27921 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCosmetics: remove useless "extern"
reimar [Sat, 15 Nov 2008 17:48:27 +0000 (17:48 +0000)]
Cosmetics: remove useless "extern"

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27920 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoReplace some of the different inconsistent XGetGeometry uses by a
reimar [Sat, 15 Nov 2008 17:45:55 +0000 (17:45 +0000)]
Replace some of the different inconsistent XGetGeometry uses by a
vo_x11_update_geometry function.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27919 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove a useless XGetGeometry call, the X11 event handling already takes care of...
reimar [Sat, 15 Nov 2008 17:41:30 +0000 (17:41 +0000)]
Remove a useless XGetGeometry call, the X11 event handling already takes care of this.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27918 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove code from unused and since ages deprecated draw_frame function.
reimar [Sat, 15 Nov 2008 16:40:48 +0000 (16:40 +0000)]
Remove code from unused and since ages deprecated draw_frame function.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27917 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove vo_xv code that has been under #if 0 since ages.
reimar [Sat, 15 Nov 2008 16:36:39 +0000 (16:36 +0000)]
Remove vo_xv code that has been under #if 0 since ages.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27916 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agovo_x11: do not replace the vo_gc created by the Gui.
reimar [Sat, 15 Nov 2008 16:34:44 +0000 (16:34 +0000)]
vo_x11: do not replace the vo_gc created by the Gui.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27915 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCosmetic changes to vo_x11 to reduce diff to vo_xv for future refactoring.
reimar [Sat, 15 Nov 2008 15:50:47 +0000 (15:50 +0000)]
Cosmetic changes to vo_x11 to reduce diff to vo_xv for future refactoring.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27914 b3059339-0415-0410-9bf9-f77b7e298cf2