Commit Graph

1466 Commits

Author SHA1 Message Date
zdar 1bbe2f9521 triple buffering support, configuration/option system changed,some minor bugs fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10005 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-27 17:24:26 +00:00
rfelker 748e2bcb48 fix panscan font resizing with vo_mga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9995 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-26 16:56:21 +00:00
alex 5e64850517 Spring cleanup: supporting only RGB24 as input (native jpeg lib supports only that, maybe we could later add nativ YCbCr (YUV) support, but not swscale ones)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9990 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-25 20:37:26 +00:00
alex 540477f9ed memleak fix by Raindel Shachar <raindel@techunix.technion.ac.il>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9982 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-24 19:07:46 +00:00
alex 0f7903dfce spring update patch by Ville Syrjala <syrjala@sci.fi>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9980 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-24 18:52:16 +00:00
rik 1e27fe3e81 fixes to the zr driver (uninit->reinit) by Stephan Bain <sjbain@akamail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9977 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-24 17:17:57 +00:00
michael 9c160c32b5 big endian yellow fix?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9961 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-21 17:24:29 +00:00
alex 3baee8608e 10l fix by Aurelien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9959 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-21 16:59:10 +00:00
attila 502d604533 adding geometry support for xvidix
fixing some 10l in geometry.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9948 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-20 15:09:19 +00:00
faust3 c9b576b8b3 load icon from executable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9944 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-20 12:31:23 +00:00
rfelker bae4a5cbb5 at least it works now, but it's horrible slow and broken. double buffer
and direct rendering support are needed to make this remotely usable...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9942 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 18:57:16 +00:00
zdar b6cd194c3f printf->mp_msg and honor -double switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9938 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 11:25:19 +00:00
faust3 88d65344eb 10l noticed by Joey Parrish <joey at nicewarrior.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9895 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-09 18:55:49 +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 a3eaf74b6f multiple init fix by Aurelien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9884 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-08 18:05:41 +00:00
albeu ec92ba43f1 Support for "internet" or "multimedia" keyboards in X11.
Patch from Jason Tackaberry <tack at auc dot ca>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9823 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:04:26 +00:00
iive c980c302fb force_mode wrong has_mode check, verbose retrace message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9789 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 04:31:40 +00:00
albeu 83e30adc4d Use new config headers and types.
Remove unneeded dupendency on mconfig


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9757 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:23:13 +00:00
faust3 41d566f093 10l: don't change image format during config
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9729 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-29 19:58:36 +00:00
rfelker 63dd151a4c 100l to Gabu, this caused divide-by-zero with -vo mga. Apparently
someone only tested -vo xmga. Feel free to reenable if you can fix the
sigfpe properly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9728 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-29 19:56:31 +00:00
ranma e6136f255d Only write title if verbose>0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9715 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-28 10:08:55 +00:00
michael 20faf3dc0d 10000l (YUV vs. YVU swscale fix/cleanup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 16:04:53 +00:00
ranma 8d91f67c23 Improved xscreensaver support.
With this we no longer have to kill xscreensaver, but just send it a message
periodically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9696 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 17:02:28 +00:00
gabucino fb5778a5a5 fixing truetype rescaling with (x)mga + panscan
Patch by J. Makovicka


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9693 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 11:51:40 +00:00
iive 21c03a2bd4 Fix last mode ignored bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9687 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-25 20:23:50 +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
iive 5ea3b0c40a 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9660 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 00:44:09 +00:00
iive 91b423ab9f fix find_best fail if the black area is bigger than image, few more verbose messages, OSD not rendered if native mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9659 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-22 23:54:26 +00:00
alex 214d90e431 multiple preinit support -- cleaning vidix_name between the multiple preinits. Patch by Aurlien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9633 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:32:53 +00:00
iive af885100d3 new svga driver - support double buffering, fast_memcpy, direct render and HW acceleration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9622 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-20 01:45:40 +00:00
faust3 391a1c6e72 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9620 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-19 15:28:11 +00:00
rik fccc626a74 libavcodec sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9574 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 17:11:34 +00:00
albeu a06099c3e4 10L the comment header again. That's it when you stole someone else code ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9571 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 15:14:13 +00:00
albeu d32fe2d5fa vo_xover is a new vo that should make easy to have x11 support for
all overlay based vo.
Add support for xover to tdfx_vid. Sometimes the display flash bcs
the x server fuckup the overlay settings :( Not so bad as it only append
when i switch the focused window here.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9570 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 15:04:05 +00:00
albeu 1a37f3eb54 Support for the overlay, that save one stretch blit for bgr16 and YUV formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9568 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 11:12:24 +00:00
albeu a714b417ec Pass start slice to the vo it make dr + slice implemantation easier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9561 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-10 00:03:46 +00:00
albeu 983de1ade3 Update, add support for DR and draw image. Sadly reading from the agp
aperture is slow as hell, so dr is disabled on ipb atm.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9560 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-10 00:01:03 +00:00
albeu 90eb7beed5 vo tdfx vid, even faster than tdfxfb and that's just the beginning ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9547 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-07 18:45:02 +00:00
joey a17f3b051e remove yuv2rgb and support frame duplication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9541 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-06 04:59:20 +00:00
zdar daf3596eff Some 10l and better layer handling (to comply with DFB 0.9.17)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9539 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-05 20:34:29 +00:00
mark 8b45fdcbe5 Fixed geometry that someone broke grr.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9522 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-03 16:43:43 +00:00
attila 6514fbb076 clean up of -geometry code.
disabled -geometry for all but -vo xv (will be fixed later)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9518 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-02 21:09:15 +00:00
zdar d6e1a6b450 Layer configuration handling updates
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9516 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-02 15:56:42 +00:00
michael 767d5d6d4a 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9497 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 23:34:16 +00:00
michael 41b847f6a8 sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 22:05:55 +00:00
faust3 4cb68506db fix fullscreenswitching patch by Joey Parrish <joey at nicewarrior.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9489 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 19:18:28 +00:00
alex fc5d27378b Update sub-picture layer to work with recent DirectFB cvs and add support for selecting field parity. Patch by Ville Syrjl <syrjala@sci.fi>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9462 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-19 16:01:46 +00:00
mswitch a8866104c9 Patch from Tamas Kohegyi to fix subpic placement on 16:9
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9459 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-18 23:22:44 +00:00
rik 69b121958a UINTX -> uintx_t (following libavcodec)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9439 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-15 20:14:04 +00:00
filon bbff3584e1 - fix detetcion of metacity (sawfish 1.0 will be no longer treated as metacity)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9385 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-10 14:08:37 +00:00
arpi 3e718780f2 reversed small part of the r1.135 commit, it broke -fs (random black screen)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9382 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 21:35:27 +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
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
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
arpi 574fe480e3 Juste a trivial patch for vesa output. The screen were cleaned at init
for "stupid BIOSes", but just the first buffer. So when using -double
option I got flicker with such a stupid BIOS...
patch by Aurelien JACOBS <aurel@gnuage.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8653 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 23:35:30 +00:00
arpi 1cb75ce967 That patch fixes fullscreen on sawfish 1.2.
After applying fullscreen (x11, xv +/- gui) works with at least:
- sawfish 1.2
- metacity
- kwin
- wmaker
- balckbox
- waimea
- icewm,
so I think it doesn't break anything.

Filip Kalinski <filon@pld.org.pl>

NOTE: we can still reverse it :))) --A'rpi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8646 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 21:08:10 +00:00
zdar 03a58e7c7b fix to compile with DirecFB 0.9.16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8641 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 18:07:18 +00:00
arpi c8b0ddfe4e these patches let ,,oldstyle'' and freetype subtitle renderers live
together happily. if an oldstyle subtitle (font.desc) is found, it will
be used. otherwise mplayer will choose subfont.ttf, if freetype was
detected during ./configure.
(also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too)
patch-set by Wojtek Kaniewski <wojtekka@bydg.pdi.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8636 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 14:59:23 +00:00
rathann 64c7077884 Me: -sub-bg-* would be nicer. "Background" is usually shortened as "bg", not "bkg".
Arpi: feel free to change... ASAP :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8618 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 15:03:23 +00:00
arpi 17c39c4e57 The following patch adds two new command line options:
-sub-bkg-color n
-sub-bkg-alpha n
They control the color and alpha value used to initialize the subtitles and OSD BBOX.
With this you can have subtitles inside a traslucent rectangle.
This is useful when a movie already have "hardcoded" subtitles and you
want to overwrite them with rendered subtitles avoiding too much confusion.

patch by Salvador Eduardo Tropea <salvador@inti.gov.ar>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8602 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 13:41:02 +00:00
arpi 2e399f394d DVB-HEAD (aka. NEWSTRUCT) detection & support
patch by Dimitrios Dimitrakos <mail@dimitrios.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8595 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 12:04:58 +00:00
arpi 501706292e -subwidth
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8584 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 21:41:40 +00:00
arpi 62490c001c backward compatibility :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8579 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 17:28:35 +00:00
alex fc447a4d4c 10l memory leak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8578 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:42:11 +00:00
mswitch e5662528ac Added patch from Thomas Jarosch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8550 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-24 12:45:32 +00:00
arpi 725ff339e7 This patch adds support for vertical subtitle alignment
control. Possible values are top, center, and bottom,
with bottom being the default. Alignment is relevant when
it comes to positioning subtitles with one line (or fewer
lines) of text relative to multi-line subtitles.

It is implemented as a new command (sub_alignment) that
without an argument cycles the alignment (between top,
center, and bottom), or with an argument sets the
alignment (0 for top, 1 for center, 2 for bottom).
The key 'i' is bound to this command.

patch by Oskar Liljeblad (oskar@osk.mine.nu)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8535 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-23 01:37:43 +00:00
alex 71a7257eb4 10l by Matan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8521 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-22 13:27:05 +00:00
faust3 2499234aaf 10l and correct aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8520 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-21 23:49:33 +00:00
alex 08346ddf82 vidix support and better device options handler by Matan Ziv-Av <matan@svgalib.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8516 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-21 22:08:14 +00:00
arpi 3d51a6039a I have rewritten the gif89a vo in order to solve some problems I had
with it.  These are:
1) current code is messy
2) poor comments, if any
3) inaccurate frame dropping and delay code
4) output filename hardcoded
5) output framerate as integer

You may specify the output filename and framerate like so:
-vo gif89a:4.33           4.33 fps output
-vo gif89a:some.gif       output to some.gif
-vo gif89a:5.02:new.gif   output to new.gif at 5.02 fps
The filename defaults to out.gif, and the framerate defaults to 5 fps.

by Joey Parrish <joey@nicewarrior.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8515 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-21 21:07:16 +00:00
faust3 a099f6cf8c 10l - my system is very tolerant it seems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8496 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-19 12:01:50 +00:00
rfelker dba1874d20 1000l! I have no idea how this code worked at all before. I guess no
one tests win32 much anyway... :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8491 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-18 07:34:32 +00:00
alex 2e0f15e0c8 this isn't mplayerxp...3 buffers are enough for double(triple)buffering (instead of 28 buffers ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8460 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-15 18:18:41 +00:00
arpi b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00
arpi bbeb54d80a notice vo driver about skipped/dropped frames
patch by Alvaro Lopes <alvieboy@alvie.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8451 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:12:40 +00:00
henry 9c96ec9a50 memory leak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8447 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 11:14:37 +00:00
henry 6ab9415443 use more methods to get the fs window on top
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8446 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 11:09:06 +00:00
henry d9b33edbba progbar osd buffer height adjustment fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8423 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-10 23:10:24 +00:00
arpi cd1d63b19d fullscreen fix for KDE (reported to work with gnome 1/2 too)
patch by "Puk Madick" <pingy@swirvemail.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8411 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-08 01:35:07 +00:00
arpi b318b50c82 The detection of a NetWM class window manager hints is tested before
the test of a gnome class windomanager hints, since the gnome hints
are outdated and replaced by the newer NetWM specification. Newer
versions of Gnome support this standard, and therefore the test should
be placed before the Gnome test. Windowmaker does not support NetWM
and is checked after the NetWM test. In fact the new code should be
placed also before the test for IceWM. Regarding other WMs such as
KDE, IceWM the change is not tested.
patch by Svante Signell <svante.signell@telia.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8389 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-07 01:25:30 +00:00
arpi 268b2c1a0f overlapping subtitles support is now optional, can be disabled (-nooverlapsub)
patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8362 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-05 00:03:35 +00:00
arpi c1d0b30ae1 This patch fixes the screensaver issues in mplayer. It will correctly read
and store the state of XScreensaver and KDE-Screensaver, will stop them and
restart them later, when the movie has finished ...
It works and was tested with KDE2/3 and XScreensaver 4.05.
patch by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8355 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-04 23:31:46 +00:00