Commit Graph

1274 Commits

Author SHA1 Message Date
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