summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded initializationreynaldo2009-11-031-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29818 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly change behavior of "none" if fstype specification.corey2009-10-301-1/+1
| | | | | | | | | | | | | In a list of enabled fstypes, "none" now clears the list rather than disabling all fstypes and interrupting the parser. To enable only one (or more) fstypes, list the types to enable after "none". For example: "-fstype none" is the same as before: all disabled "-fstype none,fullscreen" enables only the fullscreen type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29805 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move teletext specific code from stream into libmpcodecs.cehoyos2009-10-291-1/+1
| | | | | | | Patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29801 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: Reindent after last commit.cehoyos2009-10-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow image format BGRA when using vo vdpau.cehoyos2009-10-271-0/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29798 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move some variable initializations to the beginning of vo_x11_fullscreen().diego2009-10-241-9/+4
| | | | | | | | | | | Fixes the warnings: libvo/x11_common.c:1344: warning: 'h' may be used uninitialized in this function libvo/x11_common.c:1344: warning: 'w' may be used uninitialized in this function libvo/x11_common.c:1344: warning: 'y' may be used uninitialized in this function libvo/x11_common.c:1344: warning: 'x' may be used uninitialized in this function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29795 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement VFCAP_FLIP for vo_vdpau.cehoyos2009-10-231-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Free memory allocated in ff_vdpau_add_data_chunk() on uninit.cehoyos2009-10-221-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29793 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix aspect test program linking.diego2009-10-191-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29785 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to recover from VDPAU display pre-emptions.cehoyos2009-10-171-0/+76
| | | | | | | Original patch by Uoti. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29777 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support SMPTE-240M colourspace in vo_vdpau.cehoyos2009-10-121-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29771 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add colorspace option to vo_vdpau.cehoyos2009-10-101-12/+39
| | | | | | | | | Allows to use ITU-R BT.709 instead of the default ITU-R BT.601. Patch by Lauri Mylläri, lauri D myllari gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29769 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove some pointless parentheses from return calls.diego2009-10-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29759 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Break two more lines.diego2009-10-081-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29758 b3059339-0415-0410-9bf9-f77b7e298cf2
* K&R coding style and whitespace cosmeticsdiego2009-10-061-162/+170
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29755 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add keycode definitions for older versions of OSX. Fixes compilation on 10.4.adrian2009-10-061-0/+51
| | | | | | | Patch by Aaro Koskinen, aaro D koskinen A iki D fi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix definition of KEY_PAGE_DOWN.cehoyos2009-10-041-1/+1
| | | | | | | Patch by Aaro Koskinen, aaro D koskinen A iki D fi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set sensible write frequency/priority values for AllocateMemoryMESAreimar2009-09-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29723 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print error instead of crashing when mesa-buffer is used on systemsreimar2009-09-271-0/+4
| | | | | | | that do not support it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also check GLX client and server strings for extensionsreimar2009-09-271-2/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29721 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix teletext font autoscaling.cehoyos2009-09-221-2/+2
| | | | | | | Patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vo_corevideo with shared buffer after r29606: Only do GUI dependent ↵adrian2009-09-201-4/+5
| | | | | | display config if shared buffer is not enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29699 b3059339-0415-0410-9bf9-f77b7e298cf2
* Re-add some ifdefs, partially reverting r29688, since mDisplay andreimar2009-09-181-0/+4
| | | | | | | mScreen are undefined during a Windows build without X11 support. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29690 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use vo_w32_window directly instead of via the vo_window macro in ↵reimar2009-09-181-2/+2
| | | | | | Windows-only code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29689 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of several (probably) pointless ifdefsreimar2009-09-181-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29688 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use ecx instead of ebx to avoid unnecessary issues with PIC.reimar2009-09-171-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29687 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license header and move a misplaced comment.reimar2009-09-051-1/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29649 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out duplicated code to set play video scaled by a certain factor.reimar2009-09-041-39/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29646 b3059339-0415-0410-9bf9-f77b7e298cf2
* Subopt parser subopts should now be const.reimar2009-09-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29645 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use sizeof(variable) instead of sizeof(type) where easily possible.reimar2009-09-021-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29632 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: get rid of many pointless ()reimar2009-09-021-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce code duplication for half/normal/double video size handling.reimar2009-09-021-31/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29630 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.reimar2009-09-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29629 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_quartz: change deallocation/uninit to more reliably free allocated data.reimar2009-09-021-29/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make glContext a local variable, it is not needed outside the functionreimar2009-09-012-3/+2
| | | | | | | where it is allocated, reference counting takes care of freeing it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29617 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a dealloc function to corevideo to reduce the memleaks fromreimar2009-09-011-0/+11
| | | | | | | (for my sample) about 12 MB to 2 MB. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29616 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some of the major memleaks of vo_corevideo with -fixed-voreimar2009-09-011-24/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not do a unmap/map cycle on Windows given with -wid, with some windowreimar2009-09-011-2/+1
| | | | | | | | managers this has the ugly side-effect of moving the window. Instead call XInstallColormap to ensure the Colormap is installed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29614 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check setGlWindow return value to fail properly instead of crashing if e.g.reimar2009-09-012-2/+4
| | | | | | | no OpenGL support is available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make shm_fd a local variable and close it when we need it no longer, thusreimar2009-09-011-1/+3
| | | | | | | fixing a file descriptor leak. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29609 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce vo_corevideo memleaks by initializing static context etc. only oncereimar2009-09-011-14/+26
| | | | | | | in preinit and freeing the video-specific data before reallocating in config. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memleak when using fontconfig without a font name.reimar2009-09-011-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use MPlayer's standard aspect handling functions in corevideoreimar2009-09-012-100/+30
| | | | | | | instead of reimplementing them incompletely. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29606 b3059339-0415-0410-9bf9-f77b7e298cf2
* Port feature from corevideo: remember half/double size settings and reapplyreimar2009-08-281-0/+6
| | | | | | | 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 alwaysreimar2009-08-281-1/+1
| | | | | | | 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.reimar2009-08-281-0/+1
| | | | 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.reimar2009-08-281-1/+1
| | | | 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 MPlayerreimar2009-08-281-52/+3
| | | | | | | 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.reimar2009-08-283-12/+34
| | | | | | | | 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.reimar2009-08-284-190/+47
| | | | | | | | 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 ↵reimar2009-08-281-80/+42
| | | | | | in vo_quartz. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused movie_aspect extern declaration.reimar2009-08-271-1/+0
| | | | 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-casereimar2009-08-271-50/+33
| | | | | | | 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.reimar2009-08-271-3/+3
| | | | 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 windowedreimar2009-08-271-14/+0
| | | | | | | 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 ↵reimar2009-08-271-4/+4
| | | | | | 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 ↵reimar2009-08-274-9/+28
| | | | | | 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.reimar2009-08-271-1/+1
| | | | 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 ↵reimar2009-08-271-12/+12
| | | | | | | | | 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.reimar2009-08-271-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless code that has no effect.reimar2009-08-271-3/+0
| | | | 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.reimar2009-08-271-6/+3
| | | | 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.reimar2009-08-271-8/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29560 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable -keepaspect with -wid in w32_common code.reimar2009-08-271-1/+1
| | | | | | | 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 andreimar2009-08-271-2/+2
| | | | | | | | 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.reimar2009-08-272-0/+6
| | | | 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 farreimar2009-08-272-1/+9
| | | | 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.diego2009-07-264-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use memcpy_pic2 instead of reimplementing it.reimar2009-06-261-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Close /dev/tty again on uninit.reimar2009-06-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29401 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentation broken in last patchreimar2009-06-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29400 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of completely pointless vt_doit variablereimar2009-06-261-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29399 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, use fopen directly instead of open + fdopenreimar2009-06-261-7/+2
| | | | 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 anreimar2009-06-261-6/+8
| | | | | | | unexpected value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29397 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use FFALIGN and FFMAX3reimar2009-06-261-3/+3
| | |