aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
Commit message (Collapse)AuthorAge
* Port feature from corevideo: remember half/double size settings and reapplyGravatar reimar2009-08-28
| | | | | | | them after an aspect change. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make aspect switching work again (used the wrong variable and alwaysGravatar reimar2009-08-28
| | | | | | | switched to the original aspect). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29578 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix implicit declaration of mp_input_.. functions.Gravatar reimar2009-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29577 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l, use sizeof for snprintf size instead of hard-coding the current value.Gravatar reimar2009-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reuse the osx_common convert_key function to convert OSX keycodes to MPlayerGravatar reimar2009-08-28
| | | | | | | keycodes instead of its own switch-case in vo_corevideo.m git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move aspect change handling from vo_quartz to osx_common.Gravatar reimar2009-08-28
| | | | | | | | This could probably be even moved to video_out, though the names should be improved. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add osx_common.c and move the keycode conversion (OSX to MPlayer) there.Gravatar reimar2009-08-28
| | | | | | | | Also get rid of our own defines for the keycodes and instead use the predefined ones from Carbon. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the standard MPlayer aspect handling instead of reimplementing our own ↵Gravatar reimar2009-08-28
| | | | | | in vo_quartz. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused movie_aspect extern declaration.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use lookup_keymap_table function with data structure instead of huge switch-caseGravatar reimar2009-08-27
| | | | | | | for mapping OSX keys onto MPlayer keys in vo_quartz. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable calc_src_dst_rects for windowed aspect and panscan.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove panscan related conditions and code that only breaks future windowedGravatar reimar2009-08-27
| | | | | | | aspect and panscan without any real benefit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make gl2 code capable of windowed aspect and panscan (no user option to ↵Gravatar reimar2009-08-27
| | | | | | enable it yet though). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add infrastructure and test code to enable aspect scaling and panscan in ↵Gravatar reimar2009-08-27
| | | | | | windowed mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix video placement with -vo gl2 -fs -wid.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29565 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vo gl2 resize does not need to modify its arguments, so pass int instead of ↵Gravatar reimar2009-08-27
| | | | | | | | | int *. In particular, this avoids modifying vo_dwidth/vo_dheight which should only be modified by the "windowing layer" (w32_common, x11_common). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29564 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify -vo gl ass border etc. dimension calculation one bit more.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless code that has no effect.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and fix ass border calculations for -vo gl and -wid -fs mode.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29561 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make panscan cover the same range in -wid -fs mode as in normal mode.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29560 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable -keepaspect with -wid in w32_common code.Gravatar reimar2009-08-27
| | | | | | | This does not work in a useful way and was unintentionally "enabled" when -wid was made to use a separate window. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix aspect_fit to work correctly when borders need to be added on top andGravatar reimar2009-08-27
| | | | | | | | bottom, previous code accidentally compared against screen dimensions, resulting in cropping instead of added borders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29558 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten changes to aspect code to handle -wid with -fs.Gravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29557 b3059339-0415-0410-9bf9-f77b7e298cf2
* First attempts at supporting -fs with -wid, -vo gl on X11 only so farGravatar reimar2009-08-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.Gravatar diego2009-07-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use memcpy_pic2 instead of reimplementing it.Gravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Close /dev/tty again on uninit.Gravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29401 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentation broken in last patchGravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29400 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of completely pointless vt_doit variableGravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29399 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, use fopen directly instead of open + fdopenGravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a single err_out in fb_preinit, also fixes a leak when vo_dbpp has anGravatar reimar2009-06-26
| | | | | | | unexpected value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29397 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use FFALIGN and FFMAX3Gravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29396 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless castsGravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29395 b3059339-0415-0410-9bf9-f77b7e298cf2
* fbdev: remove pointless ()Gravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the RESET_GEOMETRY macro in one more place instead of duplicating its code.Gravatar reimar2009-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29392 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, RESET_GEOMETRY must reset values to INT_MIN, not -1, -1 is aGravatar reimar2009-06-26
| | | | | | | | valid value for e.g. the offsets. Patch by Benson Mitchell [benson mitchell gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29391 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix missing event on move that breaks xmga window movementGravatar attila2009-06-19
| | | | | | | broken in r28541 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29374 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable fontconfig support by default. This change takes only in effect,Gravatar siretart2009-06-17
| | | | | | | if fontconfig support is actually compiled in. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29370 b3059339-0415-0410-9bf9-f77b7e298cf2
* When used with shared_buffer, there's no need for a NSApp object, which ↵Gravatar adrian2009-05-18
| | | | | | causes MPlayer to be marked as unresponsive. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29314 b3059339-0415-0410-9bf9-f77b7e298cf2
* When used with shared_buffer, autorelease in each flip_page so objects don't ↵Gravatar adrian2009-05-18
| | | | | | accumulate until exit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29313 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use flag CWBackPixel when calling vo_x11_create_vo_window():Gravatar cehoyos2009-05-08
| | | | | | | | | It leads to VDPAU errors after video aspect ratio changes. Patch by Stephen Warren. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' to parameterless function declarations.Gravatar diego2009-05-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename macosx video output driver to corevideo.Gravatar diego2009-05-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29252 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace QuickTime.h #include with Carbon.h, which is really needed.Gravatar diego2009-05-04
| | | | | | | patch by Emanuele Giaquinta git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change getdladdr to always use dlopen, dlsym and then dlclose.Gravatar reimar2009-04-23
| | | | | | | | | Performance is not really important and dlsym(0, ...) is not defined while the more correct dlsym(RTLD_DEFAULT, ...) is a GNUism (although POSIX does reserve RTLD_DEFAULT). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a signedness issue that caused a warning to be wrongfully printed at ↵Gravatar gpoirier2009-04-21
| | | | | | | | | runtime. Patch by Adrian Stutz %adrian A sttz P ch% git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify error message output and update error messages.Gravatar diego2009-04-20
| | | | | | | patch by Adrian Stutz, adrian sttz ch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29211 b3059339-0415-0410-9bf9-f77b7e298cf2
* follow renaming of pbBufPtr() to put_bits_ptr() by stefanoGravatar rik2009-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29178 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix a memory leak leading to ~80 bytes being leaked at each call to flip_page.Gravatar gpoirier2009-04-13
| | | | | | | | | Patch by Alexander Strange %astrange A ithinksw.com% Original thread: date: Thu, Apr 9, 2009 at 4:47 AM git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29177 b3059339-0415-0410-9bf9-f77b7e298cf2