1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 19:35:49 +00:00
Commit Graph

1661 Commits

Author SHA1 Message Date
nplourde
05e19b3333 removed duplicate case and fixed aspect ratio for window zoom feature
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13713 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 23:33:31 +00:00
nplourde
a96207679e Fixed event handling for menubar and window close button.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13708 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 16:38:33 +00:00
nplourde
4aa242e702 fix menu bar support and add new movie zoom option menu a la quicktime
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13694 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-19 15:04:45 +00:00
reimar
69a5c44698 OSD variant for vo_gl.c that behaves more like the one of other vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13661 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-17 19:32:47 +00:00
reimar
0164758aa8 added gl_common for code used by both vo_gl.c and vo_gl2.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13654 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-17 13:28:22 +00:00
reimar
82f168a4f6 some memory leaks fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13642 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-14 15:09:35 +00:00
reimar
95efc9ce47 fixed small memleaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-13 16:22:59 +00:00
reimar
a89dbc8ecd aspect scaling and panscan support for vo_gl.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13602 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 14:05:29 +00:00
reimar
780e75dd68 Variables for OSD support should be static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13600 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 12:26:58 +00:00
reimar
274c433f07 OpenGL OSD rendering for vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13586 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-08 19:53:11 +00:00
reimar
fb4299aa23 10l compilation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13577 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 19:53:16 +00:00
reimar
4131acb7ff fixed UNPACK_ALIGNMENT setting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13576 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 16:48:19 +00:00
faust3
1addcfe22b Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get
a simple 32 bits protected mode interface to some VESA functions. This
protected mode interface is interesting because it's quicker than the
raw int 10h interface.
Unfortunatly, begining with VBE 3.0, the 0x4f0a function is optional,
and some video cards don't implement it (3dfx, intel 845/855/865...).
This protected mode interface is then only used in vbeSetWindow and
vbeSetDisplayStart :
 - vbeSetWindow already implement an alternative methode if protected
mode interface is not available.
 - vbeSetDisplayStart also contain an alternative implementation, but
this one is disabled with a #if 0. I don't exactly know why because
it works well !

So currently, cards which don't have the 0x4f0a function are not
supported. This patch correct this.
 - vbeGetProtModeInfo failure is not fatal.
 - vbeSetDisplayStart has it's alternative implementation reenabled.
   it's used only with cards which don't have the 0x4f0a function
   so this won't make any difference for cards which were already
   working.

This patch also make the failure of vbeGetModeInfo not fatal. The
VBE 3.0 standard state that GetModeInfo can fail with some mode
which are listed as supported if the mode can't be used in the
current situation (not enough video memory for example). So a
failure of vbeGetModeInfo don't mean that other modes won't work
and should really not be fatal.

patch by Aurelien Jacobs <aurel@gnuage.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13569 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 08:42:13 +00:00
alex
1fc371c73a move the file writers after vo_null so they don't get autoselected - following the same logic as in libao2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13552 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-04 19:36:12 +00:00
reimar
e3e81503aa fixed memleak, especially for fixed-vo.
Based on a patch by beastd (eclipse7 (at) gmx (dot) net).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13541 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-03 21:42:31 +00:00
ivo
8cffc7853a Removal of vo_pgm and vo_md5, because they have been replaced by vo_pnm
and vo_md5sum. If one tries to use the old video output drivers, a message
is printed to direct them to the new drivers.

Manual page is updated (or is this called downdated? :-) ).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13508 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-29 01:46:30 +00:00
ivo
9959813cc6 changed include of stdint.h to inttypes.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13498 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-27 22:11:37 +00:00
faust3
f4ea8c729f use aspect code when used with vidix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13481 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-26 15:10:47 +00:00
diego
f38fc23976 printf --> mp_msg transition in vo_yuv4mpeg
patch by Sebastian Hegler <s_hegler at gmx dot de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13463 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-25 16:10:55 +00:00
syrjala
ed19d7f62d Fixed [no]input suboptions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13460 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-25 13:46:21 +00:00
faust3
476e17edc6 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13439 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-22 16:26:53 +00:00
ivo
a63a6ac5cb This patch enables the compilation and linking of vo_md5sum to libvo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13399 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-20 01:35:43 +00:00
ivo
e5029c75b6 This patch enables the compilation and linking of vo_pnm (the portable
anymap video output driver) to libvo.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13398 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-20 01:31:26 +00:00
ivo
a91f764096 New MD5 sum video output driver. For every frame, it calculates the MD5 sum
and writes a list of those sums to an, optionally specified, output file.
It does not rely on external programs to be installed. The MD5 sum code is
borrowed from the uCIFS library, written by Christopher R. Hertel in 2004
and released under the LGPL license.

Note: This driver is not yet activated and will not be compiled and linked
to libvo. A separate patch will take care of that. This is just for adding
the files to the repository.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13396 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-20 01:01:08 +00:00
ivo
766abce5a0 New generic 'portable anymap' video output driver. It supports portable
pixmaps and graymaps in both raw and ASCII mode. Besides PPM and PGM, it
can also output PGMYUV files which are PGM files with the U and V plane
appended to the bottom of the Y image (bottom left and bottom right). All
files can be written to the current directory, to a specified output directory
or to multiple subdirectories if the filesystem can't handle the amount of
files in one directory anymore.

Note: This driver is not yet activated and will not be compiled and linked
to libvo. A separate patch will take care of that. This is just for adding
the file to the repository.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13395 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-20 00:54:57 +00:00
faust3
f5d3da024c center the image when screenw & height are set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13361 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-17 09:56:09 +00:00
faust3
d32a38dfed Changed the default again so that the initial video position is in
the upper left corner like in vo fbdev[2].
Reason: vo cvidix does not know the screen resolution unlike you specify
it with screen[w/h], resulting in the video being displayed on a random
position.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13356 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-16 18:08:17 +00:00
faust3
e77c880367 mingw compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13348 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 15:17:06 +00:00
faust3
299671ded1 fix not matching prototype, patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>; remove ^M
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13347 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 14:19:41 +00:00
faust3
5e00ed042b This time is a patch to improve subtitle alignment management. It
implements
SSA alignment styles; note that alignment for SSA files is not actually
supported, but for SAMI files (which use the same alignment codes) it
is.
patch by Salvatore Falco <sfalco at studenti.ing.uniroma1.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13344 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 13:16:52 +00:00
ivo
f9866da609 Added one more error check. Forgot it last time (grrr :) ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13323 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-12 01:35:41 +00:00
ivo
3595966380 Fixed typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13318 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-11 21:15:13 +00:00
ivo
a35c5903bb * Changed malloc and strncpy to strdup. Less code.
* More error checking. If malloc or strdup fails, print message and exit.
* Free malloc'd memory when uninit is called.
* Moved default of jpeg_outdir to preinit, so it is always malloc'd and can
  easily be freed at uninit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13317 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-11 19:59:31 +00:00
ivo
38321e0fe4 Removed unused variable (leftover of having two instances of directory creation
code, before I moved both and created a function for that).
Made code clearer by moving ++variable out of a function call.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13301 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-10 01:15:24 +00:00
ivo
07839ac723 Renamed some MSGTR_VO_JPEG_* messages to MSGTR_VO_* messages, so they can
easily be re-used by other video output drivers, without having inapproriate
names.

To make live easier for the translators, I have made the same changes to
the German and Spanish translations (those who already picked up on the
MSGTR_VO_* messages).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13285 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-08 03:51:37 +00:00
ivo
b8c10b5b26 This patch moves the directory creation code to a separate function. I have
tried to re-use as much code as possible, to reduce the size of the patch.
All duplicate code is removed, resulting in my first patch that actually
decreases the size of the binary by about 700 bytes :-)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13284 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-08 01:11:16 +00:00
ivo
0b90eb2a02 Some minor vo_jpeg fixes:
Removed unused variable dst.
MPlayer now exits if it is unable to create a file for JPEG output and prints
an appropriate message, instead of going on if all is right (which is not).
Added line to authors file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13253 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-05 17:54:09 +00:00
ivo
f36b6cd3a1 Removal of -jpeg commandline option.
It's replaced by an options parser in the module itself. Instead of
mplayer -vo jpeg -jpeg options one now has to use mplayer -vo jpeg:options.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13248 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-04 22:59:33 +00:00
al
80098f9851 We don't need to support the old nvidia binary driver bug any longer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13243 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-03 20:22:22 +00:00
reimar
0a2999f9f4 improved suboption parsing, fixes also compiler warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13238 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-03 12:12:17 +00:00
ivo
d5d36f90c9 One-time cosmetics update.
I finally got rid of the horrible one-space indentation. Changed it to four
spaces. Also changed all function calls, assignments, et cetera, to conform
to a certain 'standard'. Removed all trailing whitespace. No more tabs (width
can be different from editor to editor), it's all spaces now. Next
semi-cosmetics stop will be doxygen comments.

Tested: It compiles to exactly the same object as before. No functional
change has been made.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13218 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-01 02:31:24 +00:00
reimar
ef6466d9ad Using updated colorspace specifications from colorspaces.txt.
All by manyfmts suboption supported formats should display correctly now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13207 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-30 21:06:52 +00:00
rathann
d9a5e00183 small gcc warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:59:49 +00:00
ivo
77db87aa41 Added output to multiple directories for vo_jpeg.
Updated the manual page to describe the new options.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13159 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-26 22:18:25 +00:00
joey
139beb2d89 added "xbutton" support for 4-5 button mice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13158 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-26 22:15:26 +00:00
nplourde
6f6c1a6406 add rgb32 csp support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13125 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-24 20:42:27 +00:00
nplourde
d49ef7f8ce fix crash when using close button
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13120 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-24 17:40:31 +00:00
faust3
8e6790026e vm window handling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13111 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-24 11:02:12 +00:00
iive
eaa8aeddeb prevent XFree execution on wrong condition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13102 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-23 09:52:25 +00:00
joey
896b8f4c2f added runtime toggle of root window playback
only directx supports this at the moment


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-22 19:01:56 +00:00