1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00
Commit Graph

1315 Commits

Author SHA1 Message Date
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
filon
d6b0903b03 Document -fstype in manpage.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9339 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 10:01:59 +00:00
alex
4d9c92c343 10l debug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9327 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 22:15:11 +00:00
filon
a3385947b2 - support command line parameter -fstype, eg. -fstype layer=12,above,fullscreen
- help (-fstype help) also availabible
- support state BELOW (someone may want to use it...) and by -fstype none forcing of
   not changing window layer (user request)
- drop icelayer option, it can be set by -fstype layer=<number>
- simplify vo_x11_fullscreen
- fs change code cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9318 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 19:38:39 +00:00
arpi
127530fe9f The reason why mplayer crashes (in some cases) when using x11
output and -wid (>0) parameter is this:

Mplayer by default creates a colormap using DirectColor visual. If the
window given to mplayer uses TrueColor visual there will be an error
when mplayer sets the colormap for the window. This patch
modifies mplayer to use TrueColor visual if the window given to mplayer
uses TrueColor. Another solution is to make sure that the window given to
mplayer is created using DirectColor visual if it is supported by the
display.

Jouni Tulkki <jitulkki@cc.hut.fi>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9279 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-04 18:31:44 +00:00
alex
cdb7ff9cd0 10l, avoid getting num_of_buffers=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9275 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-04 16:14:54 +00:00
iive
cddb8271cb disable auto oldmethod, directrendering for linear modes only
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9238 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-03 01:15:45 +00:00
arpi
ca0263659f compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:42:59 +00:00
rik
cb13f40e63 {malloc,free} -> av_{malloc,free}
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9187 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-31 18:03:17 +00:00
henry
142ebc5c38 better fix of vo_aa font segfault
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9177 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 19:58:43 +00:00
henry
cbe477614e another sanity check against vo_aa font hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9173 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 18:43:08 +00:00
michael
49a3af8585 fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 09:15:09 +00:00
arpi
6df2ca6ea6 hopefully better uninit check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9171 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 23:28:55 +00:00
arpi
e0b4adbe65 -fixed-vo vs. panscan vs. 'f' vs. -fs fix
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9162 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 20:25:01 +00:00
arpi
1bf956391f MPlayer crash when using -wid and -vo x11 parameters.
I don't understand very well why my fix works.
Jouni Tulkki <jitulkki@cc.hut.fi>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9116 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 22:24:17 +00:00
arpi
a7e9bac132 OSD volume symbol fixed :)
instead of |\ it should be /|
patch by {asm} <tf198@hszk.bme.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9110 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 16:36:06 +00:00
gabucino
fd15c813dd typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9086 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-25 09:30:13 +00:00
rfelker
3b285a0e3b Improvements to spudec (DVD/VobSub) subtitle code:
- runtime selectable positioning, like with text subs
 - runtime selectable scaling/antialiasing algorithm
 - gaussian blur scaler (finally dvd/vobsub doesn't look like shit!)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9078 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-24 10:24:07 +00:00
pontscho
24aec200db fix xmga + playbar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9048 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-20 21:35:31 +00:00
arpi
7750844519 This patch should fix the display problem with 4bpp and 8bpp modes.
The problem was that the new drawing method assumes a linear
framebuffer, which is not available in those modes. This can be worked
around by using the old drawing method, which is what this patch does.
The old method can be forced, by using the "old" driver option.
This patch also enables linear addressing, since it improves write speed
to video memory considerably. The mentioned problem:
"it is not compatable with vga_draw* for some cards"
Is a bug in svgalib, which I think should be fixed in recent svgalib
versions. If someone sees this problem, please report to svgalib
maintainer (that's me).
patch by Matan Ziv-Av. matan@svgalib.org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9047 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-20 21:33:11 +00:00
arpi
8fb42e1791 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9037 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 20:13:49 +00:00
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