1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00
Commit Graph

1294 Commits

Author SHA1 Message Date
alex
db1a1895e4 conformation with api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9028 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 16:52:00 +00:00
arpi
030b628942 * Remove unneeded includes & macros
* Get layers by name rather that fixed ID. Only works for DirectFB >=
0.9.16 so fall back to ID based stuff for older releases.
* New option "noinput" (useful in X)
* Add some NULL pointer checks to uninit()
* Improve error messages and use mp_msg()
* Direct rendering fix (at least IPB was broken)
* Use 0xff for alpha component in all colors
* Blit from temp surface to screen was only done in draw_osd() which
doesn't always get called. Do the blit in flip_page() in this case.
* Add GUI support to control()
* Change the driver name to include G450/G550 ;)

patch by Ville Syrjälä <syrjala@sci.fi>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9022 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 15:41:26 +00:00
arpi
c9142119d2 fixed query_format (RGB24 supports OSD and is preferred)
based on patch by Alvaro Lopes <alvieboy@alvie.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9020 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 15:25:03 +00:00
attila
ad666c747c xinerama fix part 1 - count your paranthesis
xvidix should now work too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8992 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 15:05:06 +00:00
attila
df3fd2baf3 xinerama fix part 1
xmga only for the moment, have to work on xvidix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8989 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 14:33:29 +00:00
atmos4
57b2503b00 debug++
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8937 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 01:50:20 +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
mswitch
d31a1e04f4 Added patch from Tamas Kohegyi to fix subpic placement with freetype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8925 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 19:32:56 +00:00
arpi
faf2f98c85 -geometry fix (untested!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8919 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 17:59:47 +00:00
arpi
aa2581c594 debug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8918 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 17:46:21 +00:00
filon
61a46b242b Remember window layer befor changing it.
Works on icemw and fvwm, but not on windowmaker (bug in wmaker...).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8867 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 21:23:54 +00:00
pontscho
52a7bad9a6 - sync with x11_common
- half rewrited font render engine (disabled by default)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8865 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 20:47:14 +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
filon
16517dc033 Fixed metacity + xv behavior (something broke it lately).
Fixed sawfish bahavior in gmplayer: use ABOVE, FULLSCREEN is last choice.
Now mplayer window is visible over the video window.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8836 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-07 20:58:25 +00:00
filon
cb66d1f0f7 Update font scale after changing pancan.
It makes fonts keep scale when they are set to be proportional to width.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8820 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 12:27:39 +00:00
filon
5ba5288d2e Use standard mplayer message funtion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8819 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 12:23:59 +00:00
henry
34b70a1c77 sanity check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8795 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 13:32:57 +00:00
henry
2947415dce fixed calculation of OSD coordinates w/ panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8794 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 13:29:38 +00:00
filon
7f430583b5 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8793 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 11:30:39 +00:00
filon
e3bce499be Check if we can open /dev/mem in preinit(), so we can exit cleanly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8792 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 11:24:13 +00:00
filon
43b0b8d4bf Not checking it caused SIGSEV when uninitning after vesa init failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8787 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 22:41:52 +00:00
filon
d5fef408d1 Added missing spaces around found atom name.
Removed varaibles which last patch made unused (forgot to do it before).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8784 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 20:43:26 +00:00
rfelker
9951210c1c don't keep mga_vid device open if x11 init fails (fixes "-vo xmga,mga")
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8779 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 19:17:37 +00:00
attila
984fc3cbd8 cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8769 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 13:12:13 +00:00
attila
2758feb917 fix xv window position problem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8768 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 13:11:18 +00:00
filon
6b469f9197 really not needed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8754 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 01:11:19 +00:00
arpi
4bb83d4f38 1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8753 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 23:52:55 +00:00
mark
0842caf6f0 Added support for X style -geometry options (adapted from Henk's patch)
-- Mark


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8746 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 20:46:44 +00:00
colin
659dd449be 10l ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8745 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 18:33:26 +00:00
rfelker
fd5f02e1ff 10l, geometry always returns 1. i think this is the correct fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8744 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 18:01:49 +00:00
filon
0d733af059 More fullscreen cleanup work. Use nice macros for X atoms.
Remove (added by me before) checking wem type at each fullscreen mode
change. It doesn't help at all in case of window manager change.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8743 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 15:30:57 +00:00
arpi
90872c4792 -geometry support
patch by Henk <henk@god.dyndns.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8739 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 13:18:22 +00:00
diego
b5d25351fe Rearrange the vo and ao driver order to prefer the native drivers and give
a better out of the box experience on Cygwin.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 05:10:44 +00:00
mswitch
7217b681da Added patch by Thomas Jarosch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8729 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 23:57:38 +00:00
mswitch
9ed7d6dd03 Updated changelog
Removed unneeded ifdefs
No longer set static variables to 0


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8725 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 21:45:13 +00:00
mswitch
9ff22a4d69 Added patch that makes the dxr3 return to the previous tv norm when quiting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8723 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 18:54:16 +00:00
attila
4fd397ac89 fix bitmap leak pointed out by Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8717 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 14:33:55 +00:00
attila
6d5589535b sending 10l to Filip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8695 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 14:16:02 +00:00
filon
a5005b2847 - reverting icewm hack (i have used broken icewm, regular one is working)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8694 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 12:50:56 +00:00
attila
76da393f98 X11 window aspect patch by Arnaud Boulan <boulan@iie.cnam.fr>
adds 2 options: -keepaspect (default) and -nokeepaspect
tested with icewm and enlightenment


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8693 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 12:02:49 +00:00
arpi
24bdd5e392 I have just installed IceWM 1.2.3 which supports NetWM and has broken
support for resizing. To maximize window we need to use
_NET_WM_STATE_FULLSCREEN, but it doesn't tell use that it supports it.

New IceWM also doesn't support layers in fullscreen mode, changing it
doesn't change window position (again, "-icelayer" doesn't fit well).

Also while fixing fvwm metacity got broken again, so there is a new
hack or it, and small fix in code for openbox.

Now it should work on almost everything.

Filip Kalinski <filon@pld.org.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8677 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 12:42:14 +00:00
iive
630d1fcf94 vga_draw* functions don't support linear memory for 'most' video cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8674 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 02:37:36 +00:00
arpi
80bbae8720 This time the patch is fixing much more that breaking :-)
It includes ugly hack for OpenBox, swaps checking for netwm
with layers (and makes fvwm work -> they have also broken
_NET_WM_STATE_FULLSCREEN but also supports layers) and changes
back fullscreen layer to 10, afterstep doesn't like 12 :-)

Tested with: sawfish, metacity, kwin, blackbox, openbox, waimea,
windowmaker, afterstep, icewm, mwm, fvwm

Filip Kalinski <filon@pld.org.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8670 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 23:59:53 +00:00
faust3
c22eec6052 10l remove unused code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8669 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 23:31:40 +00:00
faust3
b5c093dbe4 fullscreencode rewritten, some cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8668 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 23:14:31 +00:00
arpi
ea62cd864c sig11 (in free() in uninit) fixed
patch by Joey Parrish <joey@nicewarrior.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8666 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 22:24:20 +00:00
arpi
cab4d6b8e0 2*10l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8664 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 20:57:01 +00:00
arpi
230d39113b I have looked at the fullscreen code and realized that there are
generally two types of layer support for window managers:

- NetWM states (FULLSCREEN, STAYS_ON_TOP, ABOVE)
  sawfish, metacity, kwin
- _WIN_LAYER
  IceWM, WindowMaker

So we don't need any other window manager detection functions, we need
only to check for these two.

Code tested on lots of windowmanagers.

patch by Filip Kalinski <filon@pld.org.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8661 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 18:50:15 +00:00
arpi
ac3b6c6552 - optional slice height for -vo gl (example: -vo gl:32)
based on patch by Dmitry Baryshkov <lumag@qnc.ru>
- default height changed from 1 to 4, seems to be more optimal and works
fast on both g400max & gf4ti4200


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8655 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 01:34:20 +00:00
arpi
c4afe3339f NetWM fs. switching cleanup
patch by Filip Kalinski <filon@pld.org.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8654 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 00:47:43 +00:00