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

1631 Commits

Author SHA1 Message Date
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
joey
66dd2d906d added -rootwin support to vo_directx
updated all man pages except chinese
also added mention of vo_quartz's rootwin to man pages where it was missing


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13091 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-22 18:57:45 +00:00
syrjala
43a23a54d3 Removed fb_dev_name handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13061 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-20 14:09:16 +00:00
al
06be6b7135 Removed superfluous XFlush calls before XSync.
Original patch by Piotr Neuman <sikkh@wp.pl>
extended by Joey to cover all X11 code
modified by me to only do the above stated change.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13057 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-20 09:41:13 +00:00
nicodvb
3e2d9b9b63 user can select dvb card number to use (V3 api only)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13049 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-19 09:51:07 +00:00
syrjala
ad1787ad0b Removed useless SetOpacity() calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13029 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-15 00:27:28 +00:00
syrjala
5fcaa7d4a1 Fixed BES aspect ratio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13028 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-15 00:25:23 +00:00
syrjala
7a1e8266dd Reorganized init/unint so that fixed-vo works.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13027 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-15 00:12:34 +00:00
rik
896d62f4b9 --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
on the CCC-Camp ICMP2 (www.icmp2.de) this weekend, some friends and
I played around with our Blinkenlights replicas and found a little
bug in your MPlayer Blinkenlights outpur driver "vo_bl". The
Blinkenlights UDP-Protocol contains the maximum grayscale value
"maxval" (e.g. 255 for 8 bit) instead of the number of grayscales
(e.g. 256 for 8 bit). Because some programs are very strict
concerning this value, we had to patch mpalyer to get it to work.

Today, I've added an output scheme "hdl" for the Haus des Lehrers in
Berlin, on which an installation with grayscales was done last
winter. Additionally, I've also added an output scheme named
"grayscale" that adapts the size of the UDP packets to the size
used with "-vf scale -zoom" that we will need for a project (a room
with over 15000 pixels at the walls and floor) next year.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13001 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-11 13:39:32 +00:00
syrjala
36e5a58db2 Don't use flicker filtering.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12981 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-09 18:00:12 +00:00
nplourde
0b7de297e4 now use vo_rootwin var to check for -rootwin switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12973 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-08 23:22:29 +00:00
reimar
e11a5c3051 applied old patch that was missing an include...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12937 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-02 15:02:35 +00:00
reimar
4cd760385d support for passing mouse events on to MPlayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12928 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-01 20:13:42 +00:00
faust3
9db0e66a3b 10l query format at least when used with vidix, disable colorkeying with vidix, should fix #38 and #33
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12927 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-01 11:17:27 +00:00
nplourde
41508ab12e add var vo_rootwin and -rootwin switch for mac osx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12913 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-29 14:59:48 +00:00
reimar
d7d2ea1551 removed saver_on, saver_off calls, they are already in x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-25 12:49:01 +00:00
nplourde
ea3e5fdf2e removed ref to extern WinID
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12890 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-23 14:28:31 +00:00
nplourde
97c109258a add support for -rootwin command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12889 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-23 13:02:40 +00:00
nplourde
7c296c8af5 listen for key repeats, patch by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12887 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-22 20:02:26 +00:00
reimar
bf366b0d9d fix for people experimenting with GUI under windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12886 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-22 19:07:13 +00:00
diego
40170e58c3 name change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12862 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-19 23:19:50 +00:00
diego
74ba5775ef embarassing typo and new name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12859 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-19 23:11:26 +00:00
diego
7fe7f31e82 embarassing typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12858 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-19 23:11:06 +00:00
reimar
4eebc5af53 changed misleading TEXTUREFORMAT_32BPP (was 24bpp!) to vo_gl2 style TEXTUREFORMAT_ALWAYS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12844 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 14:32:22 +00:00
reimar
2b2bb254b7 use RGB32 textures on OS X
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12843 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 14:18:29 +00:00
alex
fb49973b17 1, killed some 100l's (no error checking). 2, added subotion for output filename. 3, fallback to 'md5' in case 'md5sum' is not available - this is the case on Darwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12841 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 11:22:14 +00:00
nplourde
0077b6244f Fixed typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12831 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-16 10:13:26 +00:00
nplourde
645e3bae61 Add Window Level Key, Can switch mode with T key
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12827 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-15 17:36:01 +00:00
rtognimp
1772486e47 Indentation fix from previous patch, as discussed on IRC.
Patch by Alexander Strasser


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12799 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 22:27:18 +00:00
rtognimp
87a4968354 This fixes the problems that originated from my ewmh
fs patch, caused by a different handling of the wm's
ewmh fs implementations.
Patch by Alexander Strasser


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12797 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 22:16:52 +00:00
faust3
5ca7793b78 don't use uninitialized font descriptions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12795 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 12:45:59 +00:00