Commit Graph

2026 Commits

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