Commit Graph

134 Commits

Author SHA1 Message Date
reimar 576500d6a6 Avoid vo_sdl void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23639 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:07:47 +00:00
reimar 6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
rathann 259cfbe7e2 Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ‘mplayer_put_key’" warnings

Based on Attila's suggestions.
Approved by Uoti and Ivan.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-29 17:16:11 +00:00
reimar ff32ae1051 Move code to ignore mouse wheel "down" events to fifo.c (needed because
they too easily cause those "buttons" to get stuck), reducing code duplication.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 11:05:21 +00:00
diego 084a5d01b5 Amiga OS 4 support
patch by Andrea Palmatè, andrea amigasoft net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21750 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-23 23:27:01 +00:00
diego 35b960c206 Use MOUSE_BTN0 instead of MOUSE_BASE for consistency with other vo drivers.
patch by Laurent Wozniak, laurent.wozniak laposte net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20170 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-12 00:39:47 +00:00
nplourde 6b0da6eb35 disable double buffer in vo_sdl on macosx. fix flicker issue.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19434 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 02:22:39 +00:00
diego 3f62423f42 Rename some misspelled and misnamed messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-28 23:06:42 +00:00
reynaldo 78417bf0dd Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with lots of corrections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 04:23:53 +00:00
diego eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
al fa2d1c9a69 - move our setenv() fallback implementation to osdep
- assert that the override param is nonzero (zero is not implemented)
- correct return value type to int

based on a patch by Diego
fixes bugzilla bug #342


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17246 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-26 03:16:48 +00:00
albeu 374db42e17 libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-02 21:50:55 +00:00
ivo cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
ivo 5fba323489 10l Don't set SDL to X11 by default.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14877 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 19:59:20 +00:00
ivo 91e58712df Remove -noxv and -forcexv command line options and replace them by
suboptions to -vo sdl. Renamed noxv to nohwaccel to better reflect the
meaning of the option. Updated manual page.

Original patch by < ods15 at ods15 dot dyndns dot org>
Modified by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14858 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 03:51:48 +00:00
alex 2506291b13 avoid using vo_subdevice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14578 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 18:05:07 +00:00
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
reimar 6696304efe fix for xscreensaver disabling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-09 18:59:55 +00:00
alex f75fd35c98 asyncblit slows down on UP systems, regarding to the SDL docs, noticed by John Phillip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12684 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 11:16:55 +00:00
alex a4a66db24e SDL_HWACCEL is a readonly flag according to DOCS, noticed by John Philip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12683 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 10:55:16 +00:00
diego 1bd9852166 Unify the config.h #include, use "config.h" instead of "../config.h"
everywhere, will make extracting libvo/ easier.  Approved by Alex.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12651 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 16:58:45 +00:00
diego fd8b9bb23f Cygwin provides setenv. Fixes compilation on Cygwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12028 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-15 05:07:46 +00:00
faust3 b3372bc0d0 fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12020 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-13 16:25:08 +00:00
diego 7ec1fd3d3e Support binding F11 and F12 keys to commands.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11794 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-16 17:31:38 +00:00
diego 9ce5f79d5e MPlayer is now GPL, URL updated.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11752 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-05 22:02:45 +00:00
gabucino fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
alex 135e80131b 100l to me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10948 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-26 19:10:27 +00:00
alex 7bccd91576 initial MorphOS/Amiga (GeekGadgets) support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10946 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-26 18:08:10 +00:00
alex 39bdf999e9 IRIX support by Timo Kanera <timo@kanera.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10839 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 18:15:47 +00:00
alex abb85c8b30 -nomouseinput support for vo_sdl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10786 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-01 18:24:27 +00:00
alex 79fc505bb6 start in windowed mode using Quartz, but no X server started. Ported from fink.sf.net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10484 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-27 21:55:54 +00:00
alex 2b1f95dcc2 keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9892 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-09 17:05:39 +00:00
alex 2681344b09 pass correct key for ESCAPE, bug noticed by Vladimir Mosgalin <mosgalin@VM10124.spb.edu> and moved SDL_ShowCursor from the check_keys() to uninit() (by me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9670 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 17:35:26 +00:00
arpi 7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
atmos4 6d2e21b273 10l, init priv->X at right place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8936 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 01:20:21 +00:00
arpi 8523235d04 - init & check SDL availability at preinit() (fixes -vo sdl,mga)
- moved global init/uninit code to preinit/uninit
- -fixed-vo support, still buggy (leak some memory and after a while it
  permanently kills xv, only X restart helps... or just nvidia sucks again)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8841 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-08 14:55:56 +00:00
atmos4 f758086314 Add Quartz (OS X GUI) to SDL window-capable list, patch by Tomas Hurka <tom at hukatronic.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8247 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-21 22:52:54 +00:00
henry 2dc3b7951c fixed mode switching on Mac
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8150 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 16:14:28 +00:00
alex 6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
henry e1346b93e1 fix for fs modes on widescreen displays
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8055 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 18:56:16 +00:00
arpi a8b7d99c52 for() -> memcpy_pic()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7693 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 23:54:13 +00:00
atmos4 a63ea1a018 Improved MacOS X SDL support, enable SDL main() wrapper for Darwin, remove unused envp.
Patch by Donnie Smith <xc0bead2d8130df59@f4n.org>, updated by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7202 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 15:04:18 +00:00
alex 64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
alex 0b03ca9d27 removed old input code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 15:55:58 +00:00
arpi c30e50123a HPUX porting fixes - patch by Gansser, Martin <MGansser@rand.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6957 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-09 21:30:21 +00:00
atmos4 6b153ea714 Streamline enter-key behaviour suggested by Christian Ohm and disable I420/IYUV because
SDL seems buggy with it (doesn't use hw accel, although XVideo hw supports it).
YV12 will be used instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6441 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-16 02:01:53 +00:00
ksorim 45bad49c57 Use new style query_formats flags. Fixes bug with flip.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5895 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 09:52:21 +00:00
atmos4 0b903395b5 Fix keypad volume control.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5835 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-25 20:59:12 +00:00