summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* fix bug in error message (found by Diego through a compiler warning)rik2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25703 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a transform_color function to reduce code duplicationreimar2008-01-121-28/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Write functions used by send_mpeg_*_packet may _not_ modify datareimar2008-01-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25701 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-092-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set freetype flag in the font_desc_t when using a freetype font.ulion2008-01-071-0/+1
| | | | | | | Patched by Guillaume LECERF <foxcore A gmail P com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25640 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some now unused screensaver stuff code.reimar2008-01-071-65/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25638 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove most of the messy screensaver code in favour of only XResetScreenSaverreimar2008-01-071-83/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a screensaver_off variable to save current state and avoidreimar2008-01-071-0/+7
| | | | | | | | uselessly disabling twice. Also needed for a future patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25636 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove changelog from file header, we have revision control for this.diego2008-01-062-156/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25624 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Whitespace changes, add comments to some #endif directives.diego2008-01-062-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense file to GPL v2 or later with the permission of Rudolf Marek,diego2008-01-021-2/+2
| | | | | | | the author and update his email contact address. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25591 b3059339-0415-0410-9bf9-f77b7e298cf2
* when :card isn't specified by the user search the first available cardnicodvb2008-01-021-1/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-015-2/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency cosmetics: Do not #define multiple inclusion guards to 1.diego2008-01-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use just the name of the #ifdef directive in #endif comments.diego2008-01-012-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-3111-16/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense files marked as GPL v2 to GPL v2 or later.diego2007-12-312-2/+2
| | | | | | | Done with permission from Nick Kurshev, the author. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense files written by Nick Kurshev and marked as "GPL v2" todiego2007-12-303-3/+3
| | | | | | | "GPL v2 or later" with permission from Nick. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include, fixes the warning:diego2007-12-301-0/+1
| | | | | | | | vo_xvr100.c: In function 'draw_osd': vo_xvr100.c:346: warning: implicit declaration of function 'vo_draw_text' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable, fixes the warning:diego2007-12-301-1/+1
| | | | | | | vo_xvr100.c:139: warning: unused variable 'i' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern declarations, fixes the warnings:diego2007-12-301-4/+0
| | | | | | | | | | | | vo_vesa.c:55: warning: redundant redeclaration of #monitor_hfreq_str# video_out.h:252: warning: previous declaration of #monitor_hfreq_str# was here vo_vesa.c:56: warning: redundant redeclaration of #monitor_vfreq_str# video_out.h:253: warning: previous declaration of #monitor_vfreq_str# was here vo_vesa.c:57: warning: redundant redeclaration of #monitor_dotclock_str# video_out.h:254: warning: previous declaration of #monitor_dotclock_str# was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static variables, fixes the warnings:diego2007-12-301-1/+1
| | | | | | | | | vo_bl.c: At top level: vo_bl.c:64: warning: 'yoff' defined but not used vo_bl.c:64: warning: 'stride' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, fixes the warnings:diego2007-12-301-3/+1
| | | | | | | | | | vo_bl.c: In function 'draw_slice': vo_bl.c:329: warning: unused variable 'src2' vo_bl.c:328: warning: unused variable 'src1' vo_bl.c:325: warning: unused variable 'j' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25548 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable unused code, fixes the warning:diego2007-12-301-0/+2
| | | | | | | | vesa_lvo.c: At top level: vesa_lvo.c:248: warning: 'draw_alpha' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25547 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include for vo_draw_text.diego2007-12-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not duplicate MJpegContext struct, #include the proper header instead.diego2007-12-301-14/+1
| | | | | | | | | | | This also fixes the warnings: jpeg_enc.c:342: warning: implicit declaration of function 'ff_mjpeg_encode_init' jpeg_enc.c:384: warning: implicit declaration of function 'ff_mjpeg_encode_picture_header' jpeg_enc.c:489: warning: implicit declaration of function 'ff_mjpeg_encode_picture_trailer' jpeg_enc.c:500: warning: implicit declaration of function 'ff_mjpeg_encode_close' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include, fixes the warning:diego2007-12-301-0/+1
| | | | | | | | aspecttest.c: In function 'main': aspecttest.c:19: warning: implicit declaration of function 'atoi' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use proper length specifiers in mp_msg calls, fixes the warnings:diego2007-12-281-3/+3
| | | | | | | | | | | | | vo_zr.c: In function 'init_zoran': vo_zr.c:228: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' vo_zr.c:228: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' vo_zr.c:237: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' vo_zr.c:237: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' vo_zr.c:241: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' vo_zr.c:241: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set vo_mouse_autohide in gl and gl2 vos, so the mouse hiding behaviourreimar2007-12-222-0/+2
| | | | | | | becomes the same as for the other vos using X11. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25513 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing X11/extensions/scrnsaver.h includereimar2007-12-221-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25510 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not send mouse movements events in root win mode.ulion2007-12-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for XScreenSaverSuspendreimar2007-12-221-1/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move more variables into the block where they are usedreimar2007-12-201-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move a variable to where it is usedreimar2007-12-201-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support send mouse movements commands to mplayer.ulion2007-12-201-2/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25474 b3059339-0415-0410-9bf9-f77b7e298cf2
* change license from GPLv2 to 'GPL v2 or later', requested by Diego, I can do ↵rik2007-12-183-3/+3
| | | | | | that since I wrote the files (based on other stuff from MPlayer (and some external things under GPL v2 or later)) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25454 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use NSMakeRect and NSRect in correct way:ulion2007-12-181-5/+5
| | | | | | | The third parameter is width, the fouth parameter is height. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong code in last commit.ulion2007-12-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25451 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mouse button mapping:ulion2007-12-182-6/+12
| | | | | | | MOUSE_BTN1 is middle buttion, MOUSE_BTN2 is right button. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Record screen size and display size in vo_ variables.ulion2007-12-171-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25442 b3059339-0415-0410-9bf9-f77b7e298cf2
* screen_frame is only used for fullscreen mode.ulion2007-12-171-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace some more broken SYS_DARWIN preprocessor conditionals with __APPLE__.diego2007-12-162-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix libass to support -nofontconfig.ulion2007-12-121-1/+1
| | | | | | | | For history reason, fontconfig is auto-enabled when ass is enabled, we keep this behavior and document it clearly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25379 b3059339-0415-0410-9bf9-f77b7e298cf2
* SYS_AMIGAOS4 --> __AMIGAOS4__diego2007-12-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25363 b3059339-0415-0410-9bf9-f77b7e298cf2
* Format mapping table should be constreimar2007-12-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add appropriate const specifiers to some custom parse functions.reimar2007-12-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make osd font constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark the vo_functions_t definitions as const where possible.reimar2007-12-0238-38/+38
| | | | | | | | This is not possible for xover and anything supporting vidix due to horrible hacks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark several uses of vo_functions_t as const to stop some of the currentreimar2007-12-024-10/+10
| | | | | | | hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vo info structs constreimar2007-12-0246-46/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove last remains of long-gone VOCTRL_SCREENSHOTreimar2007-12-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove video_out_png extern in vo_vesa (remains of ill-advisedreimar2007-12-021-4/+0
| | | | | | | vo-based screenshot function). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove casts that are (no longer) necessaryreimar2007-12-021-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25241 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use proper type for vidix_preinit parameter instead of void *reimar2007-12-022-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25240 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support double buffering, fix osd flicker.ulion2007-11-302-5/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25208 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix play window not get actived problem on Leopard.ulion2007-11-301-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore empty event.ulion2007-11-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper license header.ivo2007-11-291-11/+13
| | | | | | | GPL v2 or later instead of just v2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25203 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant changelog from commentsivo2007-11-291-9/+17
| | | | | | | | Add proper license header Proper copyright notices git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25202 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper license header.ivo2007-11-291-2/+14
| | | | | | | Change license from strict version 2 to version 2 or later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25201 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant changelog comments. There's always svn log.ivo2007-11-291-11/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25200 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set protocol for the vo proxy used in shared-buffer mode.ulion2007-11-282-6/+31
| | | | | | | | | | | | | | | | | | | | NOTE: You have to update your mplayerosx to svn r148 or newer to work with it. This change will speed up vo proxy and fix all these warnings: vo_macosx.m: In function 'config': vo_macosx.m:165: warning: 'NSProxy' may not respond to '-startWithWidth:withHeight:withBytes:withAspect:' vo_macosx.m:165: warning: (Messages without a matching method signature vo_macosx.m:165: warning: will be assumed to return 'id' and accept vo_macosx.m:165: warning: '...' as arguments.) vo_macosx.m: In function 'flip_page': vo_macosx.m:183: warning: 'NSProxy' may not respond to '-render' vo_macosx.m: In function 'uninit': vo_macosx.m:235: warning: 'NSProxy' may not respond to '-stop' vo_macosx.m: In function 'control': vo_macosx.m:334: warning: 'NSProxy' may not respond to '-ontop' vo_macosx.m:336: warning: 'NSProxy' may not respond to '-toggleFullscreen' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25185 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning on Leopard, tested ok on Tiger:ulion2007-11-261-1/+1
| | | | | | | | vo_macosx.m: In function '-[MPlayerOpenGLView config]': vo_macosx.m:387: warning: passing argument 1 of 'setValues:forParameter:' from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:ulion2007-11-261-1/+2
| | | | | | | vo_macosx.m:251: warning: ISO C90 forbids mixed declarations and code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak of image_data.ulion2007-11-231-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a memory leak when working in shared_buffer mode.ulion2007-11-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the setCurrentTexture call into flip_page(), fix osd flicker problem.ulion2007-11-231-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25142 b3059339-0415-0410-9bf9-f77b7e298cf2
* main() --> main(void)diego2007-11-212-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
* Let NSApp handle events when uninit to fix the delay dealloc bug of mpGLView.ulion2007-11-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25106 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable ontop command from mplayer to be sent to mplayer osx.ulion2007-11-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle mouse up event to get double click support from mp_fifo.ulion2007-11-071-6/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24986 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mouse right button and middle button incorrect identifications.ulion2007-11-061-3/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24984 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix KPENTER keycode value.ulion2007-11-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24983 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the prevent system idle code. Original code also works, but not as expected.ulion2007-11-061-3/+2
| | | | | | | | The update function was always called, but it should only be called every 30 seconds. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24982 b3059