1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00
Commit Graph

2141 Commits

Author SHA1 Message Date
reimar
580302e179 Reduce number of OpenGL state changes when drawing OSD by first drawing alpha.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18722 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:43:41 +00:00
reimar
49192fddd6 Support UTF8 in OSD text
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18720 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:05:51 +00:00
reimar
c95cda1aa8 Missing free for malloced char_seq in OSD code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18719 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:04:40 +00:00
reimar
37ee8c83cb Fix window position when changing videos while in fullscreen and for
window managers that modify position on Map. Oked by Alexander Strasser.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:00:37 +00:00
reimar
2741e50f20 Document lscale/cscale in -vo gl:help message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18698 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 20:30:16 +00:00
reimar
36c071082a Do not use border for bicubic filter helper texture, since it will cause ATI
cards to switch to software mode and be unusable. Double texture size to avoid
this causing artefacts.
Note: yuv=6 will not be changed, so it will stay unusable with ATI cards unless
ATI starts supporting this.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18696 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 19:55:20 +00:00
gpoirier
8e1c30007d Fix a condition as suggested by Rich.
Although what was in the code was working in practice it was not formally correct.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18695 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 08:00:48 +00:00
gpoirier
0f28386701 cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18694 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 07:58:06 +00:00
gpoirier
9f72c10255 Fixes suggested by Ivo, and failure under non-root operation improved. Original patch by Mark Sanderson < mmp AH kiora P ath P cx > (reworked a bit to try to meet out commit policy).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18693 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 07:57:06 +00:00
reimar
747dac29a9 Optimize bicubic filtering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18689 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-12 16:25:05 +00:00
gpoirier
68a1de942c moves invariant code (chiefly MMX register initialization) out of loops as well as eliminating some memory accesses within the inner loop.
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Mon, 12 Jun 2006 00:31:53 -0700 (PDT)
Subject [MPlayer-dev-eng] [PATCH] Loop invariant motion in libvo/osd_template.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18686 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-12 11:14:10 +00:00
reimar
04955c22fd fix image adjustment (brightness etc.) for yuv=6
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18677 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-11 10:08:40 +00:00
reimar
497b2f561e Add yuv to rgb conversion using a 3D lookup texture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18656 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 19:02:56 +00:00
reimar
2a61cc675b loadGPUProgram function to load fragment program with error checking and statistics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18654 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 18:50:11 +00:00
reimar
1b0b329dd7 Add bicubic texture scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18623 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 14:07:32 +00:00
reimar
0965bcee43 Reworked YUV2RGB fragment program setup in preparation for upcoming patches
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 13:24:54 +00:00
reimar
0d0dbd97d8 Avoid crash with e.g. -vo gl2:yuv=2 when no fragment program functions are available
Fix "ported" from vo_gl.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18585 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 20:21:25 +00:00
reimar
fbae2ba72b Move/add checks to avoid crashes and make error messages less confusing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18580 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 11:45:33 +00:00
reimar
a0a494e6f2 add (currently unused) lookup for glTexImage3D
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18579 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 11:26:33 +00:00
reimar
6f748d9621 more GL extension checks to avoid crashes with Mesa
(those crashes are against OpenGL spec though).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18578 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 11:23:51 +00:00
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
poirierg
ada9903693 Remove dead code, and do close smem file descriptor during un-init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-30 23:18:05 +00:00
ivo
0bbd274d14 use mp_msg instead of printf
messages have to be moved to help_mp-en.h later


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 10:08:38 +00:00
ivo
bd9c94dc8b include sys/io.h instead of asm/io.h so iopl() gets declared too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18542 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 09:54:44 +00:00
ivo
8d22595b5c only include sys/mman.h if HAVE_SYS_MMAN_H is defined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18541 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 09:21:45 +00:00
gpoirier
47e525833d Add YUY2 and back end scaling on S3 Virge chips in combination with fbdev.
Patch by Mark Sanderson < mmp AH kiora POIS ath POIS cx>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18536 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-17 20:56:49 +00:00
reimar
ae2eafeb55 do aspect correction of video size before calculating vo_dx and vo_dy.
fixes misplaced video e.g. with -aspect 0.3 (window is not centered but near left border)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18510 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 19:36:21 +00:00
reimar
6fd578b711 typo fixes: Extenstion -> extension
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18509 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 17:56:04 +00:00
reimar
0ae8d69733 show OpenGL extension string with -v, very helpful for debugging
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18496 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 23:06:18 +00:00
reimar
02f41cc9f6 glBindTexture might be called glBindTextureEXT as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18495 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 23:03:19 +00:00
rathann
97bd024609 Simplify condition, since both time and time_last are unsigned.
Patch by Rich Felker.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18486 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 18:34:02 +00:00
reimar
1571808a1a Make sure black borders are drawn when switching videos with -fixed-vo.
Alexander Strasser at LinuxTag


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18385 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-04 08:45:34 +00:00
diego
3f62423f42 Rename some misspelled and misnamed messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-28 23:06:42 +00:00
uau
bee52bbd10 Remove updating of vo_mouse_timer_const from the main loop and also
remove the variable itself. Convert code in x11_common.c and OSD timing
that depended on the variable to use real time instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-25 21:36:02 +00:00
rathann
741539bfc6 fix printf->mp_msg transition, 10l to Reynaldo and/or Attila
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18261 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 21:04:25 +00:00
attila
21dc86a871 fix typo X<->Y
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18248 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 14:03:58 +00:00
reynaldo
3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 07:20:34 +00:00
reynaldo
78417bf0dd Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with lots of corrections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 04:23:53 +00:00
reimar
19935f69bd minor fixes: get rid of pointless inline attributes and some additional checks
fo ppm reading


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18176 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 18:46:17 +00:00
reimar
d9d16656b2 forgotten update_xinerama_info prototypes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18175 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 18:42:55 +00:00
reimar
3a54af84ad 10l, aspect_save_screenres must be always called in update_xinerama_info.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18161 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 16:17:06 +00:00
reimar
2f9248f074 Register for window-manager delete window events and quit MPlayer.
slightly modified patch from Rickard Narstrom (rickard narstrom at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18150 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 15:58:10 +00:00
reimar
7f3d9de556 Fix and improve xinerama support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-16 13:38:28 +00:00
reimar
02c0f0258f new monitorpixelaspect option, esp. useful for xinerama setups with upcoming patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18106 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:50:33 +00:00
reimar
9e88af0e0c 10l, forgot to move aspect_save_screenres in last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18090 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 11:23:03 +00:00
reimar
c711faab44 correct fullscreen size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18086 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-13 21:47:21 +00:00
reimar
9c188dbd5f define MONITOR_DEFAULTTOPRIMARY if necessary, some mingw version seem to miss it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18082 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 20:17:07 +00:00
reimar
e29b0ea4e3 fixes and cleanup for windows fullscreen switching (restore old position,
fullscreen on current monitor).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18081 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 14:20:51 +00:00
reimar
d96b09cd64 fixes and cleanup for windows fullscreen switching (restore old position,
fullscreen on current monitor).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18080 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 14:11:26 +00:00
nplourde
fd290901bb Replace deprecated function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-08 16:16:48 +00:00
nicodvb
ec5ad59cdb added support for external VIDIX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17989 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-28 22:44:16 +00:00
diego
55859c930c Remove superfluous extern variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17971 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:31:08 +00:00
diego
7416ded30b Change 'if(verbose)' to the more appropriate mp_msg_test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:22:48 +00:00
albeu
1bfd7289f8 NEVER assign static strings to string command line options.
Fix crash on exit with fontconfig.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 19:10:43 +00:00
reimar
97600b8ee0 support custom OSD colour for vo_gl.c. Based on patch by Tomas Janousek tomi at nomi cz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17957 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 10:43:56 +00:00
diego
eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
albeu
35e90f1556 The fix in mp_msg.c avoids a core dump when iconv_open() fails, the other
just makes it possible to compile if USE_ICONV is undefined.

Patch by Bjorn Sandell (biorn _At_ chalmers _Dot_ se).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17932 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 02:31:29 +00:00
pacman
2857c2e4d4 Don't multiply fb_line_len by fb_pixel_size. Fixes too-low placement of OSD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17902 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 22:24:14 +00:00
pacman
6a6fec3656 Don't try to parse fb.modes more than once. Fixes playback of multiple files
with mplayer -vm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 22:07:30 +00:00
reimar
33f64f9e05 extra checks on size of OSD parts (though IMHO these values should never be bad)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17876 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 21:13:13 +00:00
reimar
cf1e2325c3 do not call glDeleteTextures with 0 count, Xgl does not like it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17872 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 12:15:35 +00:00
faust3
b18fadfe63 10l the cpu hog fix broke fullscreenswitching with -wid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17871 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 09:04:24 +00:00
faust3
7aba7b14ec fix for MPlayer taking 100% CPU with -wid on some systems, patch by Martin Fiedler <martin.fiedler at gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17854 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 16:52:01 +00:00
reimar
d81cb40c88 free resources when load_raw fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17792 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 22:20:20 +00:00
reimar
7a649cdcff remove useless and memleak-causing strdup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17788 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 18:05:38 +00:00
reimar
7d904048e6 initialize f to NULL, needed if desc=malloc... fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17767 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 10:04:05 +00:00
pacman
34e08d15ea When centering a video with odd width, be sure to start on a pixel boundary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17729 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 20:00:06 +00:00
diego
1cbeb57911 Make -xy help output consistent, output an empty line before and after.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17728 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 17:33:56 +00:00
nplourde
9ff365af34 update activity every 30 sec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 12:37:44 +00:00
reimar
1c45f83cac Better fallback for APIENTRY when compiling for Windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17689 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-26 09:47:17 +00:00
reimar
d18baca45c workaround for gl.h variants that do not define APIENTRY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17669 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-23 10:18:10 +00:00
pacman
74e03a35f1 Fix colormap save/restore for directcolor fb devices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17638 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 03:49:33 +00:00
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
nplourde
fa6ba9c127 let osx sleep if video is paused
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 01:36:32 +00:00
reimar
7c974d1077 reinitialize adapter_count to 0, EnumCallbackEx will not work otherwise
(when playing more that one file). Fixes bug #429.
Based on patch by Miguel Scaramozzino - dyingshell at yahoo com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17535 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-05 09:41:53 +00:00
diego
89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
atmos4
3cb89b0765 Added DPI (Print-Resolution) and Pixel-Aspect awareness to vo_jpeg.
Use -noaspect if you want Square-Px AR for anamorphic content (old behaviour).
Note: Many applications might ignore these settings, but they matter for
print design and video editing (Tested with Photoshop).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-20 01:37:15 +00:00
iive
bfd33f656b prevent xvmc from been loaded before xv, and generally before any autoprobed output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17424 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-18 18:11:02 +00:00
reimar
065b21ac70 avoid Solaris 10 compile error with gcc 3.4.5
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17420 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-17 20:25:42 +00:00
diego
988281c471 Update licensing information: The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 00:23:32 +00:00
rathann
2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
nplourde
74a12366c1 do not give focus to vo_macosx in shared buffer mode. Patch by Hector Chu<hectorchu@gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17359 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-11 02:45:17 +00:00
reimar
05db92a86c avoid some gcc 4 compiler warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17337 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-07 19:56:55 +00:00
reimar
c9c88c1530 Less ugly and easier to extend getFunctions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-07 19:53:51 +00:00
al
fa2d1c9a69 - move our setenv() fallback implementation to osdep
- assert that the override param is nonzero (zero is not implemented)
- correct return value type to int

based on a patch by Diego
fixes bugzilla bug #342


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17246 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-26 03:16:48 +00:00
iive
e813588d75 Print some error message,
as this function seems to fail on AMD64 and current NVidia drivers (8174) for unknow reason


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17229 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-20 19:04:17 +00:00
reimar
2a15e8beb8 support negative stride (flipping) in vo_gl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17221 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 12:04:08 +00:00
iive
8ed3a2fbb0 move to next vo if /dev/3dfx could not be opened
open it on preinit not at config time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 22:30:30 +00:00
diego
6422fce5e2 Do not exit() if /dev/3dfx is not available, approved by Ivan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17161 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 21:00:48 +00:00
reimar
61e33567ab really clear frames to black instead of grey, and make sure one of those
cleared frames is actually shown (and not a leftover from last film, which
happened at least with ATI cards).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17129 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 16:04:14 +00:00
reimar
2d065d1c6d signed division must be used for calculation vo_dx and vo_dy.
Fixes a bug that causes overbig windows to disappear on Windows.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17128 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 15:56:27 +00:00
reimar
552a2eab0b WM_PAINT is the "expose" event, not WM_ACTIVATE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17127 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 15:53:02 +00:00
al
d9329207cc Don't abort when xscreensaver window isn't available anymore.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17124 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 11:39:24 +00:00
reimar
cd8e16a22e Must use glFlush when doublebuffering is not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:35:54 +00:00
reimar
6b9f08f720 Get rid of most #ifdefs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17117 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:23:06 +00:00
reimar
33d32ef193 Fix message handling, process resize events
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17116 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:15:03 +00:00
rathann
da7e496cb8 fix
mplayer.c:509: warning: implicit declaration of function 'free_osd_list'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17101 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:34:13 +00:00
rathann
52dfba2d4d fix
vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17096 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:30:01 +00:00
diego
d53fa09eac vo_tdfxfb should be preferred over vo_3dfx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17070 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-01 11:58:44 +00:00
al
724f44d3d2 Revert previous commit
``Nov 22 To mplayer-cvsl (  32) [MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200''

- causes unneeded massive slowdown when stop-xscreensaver is used
- is not consistent with the other xscreensaver functions
- was commited without my approval


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17034 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-22 22:05:47 +00:00
reimar
57bd6e2d5b Use slice-height 16 as default for yuv colorspaces (only relevant if decoder
does not support slice rendering).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17028 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-22 16:18:34 +00:00
ptt
7440b82eb7 resolves problem in module stop_xscreensaver, crashing mp after sleep and awake or enabling/disabling xssaver by hand
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17025 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-21 23:51:27 +00:00
reimar
a1d62bbb62 Also parse glX extension string, makes -vo gl:swapinterval work again on linux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17020 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-19 14:00:35 +00:00
reimar
28b32a786a Enable border toggling for gl and gl2 under windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-17 20:49:46 +00:00
reimar
68ecbc34f1 disable *SwapInterval function when extensions are missing, since it
can cause crashes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16985 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-13 21:53:26 +00:00
joey
4d5075924b Generate double-click mouse events.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16976 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 13:26:24 +00:00
joey
370d1d14cf Intercept maximize event and go into fullscreen mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16974 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 13:22:01 +00:00
joey
8901ee0b0a add a switch, slave command, and vo control to toggle borderless window.
includes documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 22:25:54 +00:00
joey
09ed4549eb move window style to a macro for easier maintaining
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16967 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 21:15:37 +00:00
al
fb8da06ed7 Test if source image dimensions are too big.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 02:39:31 +00:00
reimar
4acdc86503 do not call glFinish when we do not have a context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16945 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-07 21:29:38 +00:00
reimar
ee5ce266e5 Fix compilation, use vo_fs instead of fullscreen variable. Not tested.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16942 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 21:15:53 +00:00
ptt
83f30085e7 Added translatable messages for OSD localization to help/help_mp-en.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16924 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 02:38:47 +00:00
ptt
126f151cda changed KEY_PREVIOUS to KEY_PREV, cause the first undefined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16897 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-03 10:50:43 +00:00
albeu
374db42e17 libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-02 21:50:55 +00:00
reimar
99f1babca7 10l typo, nomanyfmts should be used against playback problems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16881 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 13:57:37 +00:00
reimar
1b6809f326 More consistent and sane types. Also avoids some gcc 4 warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16880 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 13:56:16 +00:00
syrjala
8db8ad3fcf Added support for remote controls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16865 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-26 07:41:41 +00:00
diego
20b8cba8fb Make include paths consistent among files in libvo. Since -I.. is added
to the CFLAGS in the Makefile this should be safe.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16842 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 16:19:32 +00:00
rfelker
211132c2e6 make bottom alignment the default since it's the only sane mode when sub_pos is near bottom (default)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16840 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 15:35:28 +00:00
rfelker
8aee54d8a8 reverse incorrect sub alignment change, ok'd by diego
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16839 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 15:34:39 +00:00
diego
a2220dbb7a The conditions for bottom (2) and top (1) subtitle alignment are reversed.
patch by Paul TT < paultt == at -- hackerjournal == dot -- it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16835 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 14:25:56 +00:00
diego
f7e307ee4d Make a few more messages translatable by moving them into help_mp-en.h.
patch by Paul TT < paultt == at == hackerjournal == dot == it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-18 11:11:25 +00:00
reimar
fc96ad08af Be less verbose.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16752 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 19:15:30 +00:00
joey
e29589ff4d use subopt parser for arguments.
change all printf to mp_msg.
update man page gif89a example.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16722 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 12:59:36 +00:00
reimar
6b95575c06 Make fragment program snprintf less confusing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16649 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-03 14:25:04 +00:00
reimar
1a3e0c3b12 documentation update.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16627 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:53:49 +00:00
reimar
d28ad7d31d Support for ATI specific YUV->RGB conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16626 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:49:28 +00:00
reimar
9f24b5c71f Add missing GL_REGISTER_COMBINERS_NV define
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16609 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 08:33:33 +00:00
reimar
4c90ccf9de Add -panscanrange option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16608 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 08:32:37 +00:00
reimar
7a3909684e fix/improve code doxumentation. Also group gl_common functions in several
doxygen modules


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16596 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:41:28 +00:00
reimar
464df17b27 debugging/testing helpers: allow forcing a certain width/height for textures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16595 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:33:03 +00:00
reimar
e74494dd4d Allow specifying a custom (ppm) texture for texture unit 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16594 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:31:58 +00:00
reimar
d29c9ddf19 support loading a texture from a PPM file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16593 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:30:00 +00:00
reimar
98ef94eb18 panscan support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16591 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:18:16 +00:00
reimar
f384349dfb contrast 0 should lead to a grey, not a black image
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16590 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:17:03 +00:00
reimar
d06ea270be get rid of global getProcAddress variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16589 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:12:01 +00:00
reimar
d16d2c3e32 Support rectangular texture in fragment programs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:07:54 +00:00
reimar
b008020536 Several bugfixes:
black OSD border with scaled-osd
draw only used parts of image (looks weird with equalizer controls otherwise)
clear borders when switching to fullscreen when using -nodouble


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16585 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 14:02:02 +00:00
reimar
2abdf6ac43 Fix crashes and green border when using YV12 input format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16584 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 13:58:18 +00:00
reimar
408a146a4e texture units do not need to be explicitly enabled when using a fragment
program.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16583 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 13:56:42 +00:00
reimar
bcc7a8466a Missing break for WM_SYSCOMMAND handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16500 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-16 12:09:24 +00:00
reimar
4e60e039f5 hardware color-space conversion for vo_gl and vo_gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16489 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-14 22:08:04 +00:00
reimar
2f5698c9cb Fix MMX accelerated RGB24 OSD, fixes "ugly OSD with -vo gl2".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16484 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 21:41:44 +00:00
reimar
052fc0f4e9 Allow disabling the glFinish call
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16476 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 16:16:13 +00:00
reimar
587c45e08e Improved glFindFormat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16475 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 15:56:32 +00:00
diego
a407e0f51d - improved performance on truecolor modes
- fixed all known bugs, i.e. palette mode works right again
patch by Christoph Egger < Christoph_Egger -- at -- gmx -- dot -- de >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16471 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 08:47:46 +00:00
reimar
28ee54a940 Use GL_CLAMP_TO_EDGE instead of GL_CLAMP to avoid border texels being sampled.
This avoids some ugly effects when vo_gl2 uses multiple textures.
(Note to self: read the specs instead of just copying the old code!).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16462 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 15:15:28 +00:00
reimar
7a84b40ce4 Fix border color (forgot to divide by 255.0).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16461 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 14:51:30 +00:00
reimar
4de258aac4 Respect -nodouble even though it looks very bad.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16459 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-11 17:45:12 +00:00