summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the internal GUIAnton Khirnov2009-07-071-5/+0
| | | | | | | | | The GUI is badly designed and too closely coupled to the internal details of other code. The GUI code is in bad shape and unmaintained for years. There is no indication that anyone would maintain it in the future either. Even if someone did volunteer to implement a better integrated GUI having the current code in the tree probably wouldn't help much. So get rid of it.
* Remove trailing whitespace from most filesUoti Urpala2009-07-071-15/+15
|
* Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-12/+12
| | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-12/+12
| | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* Merge svn changes up to r29277Uoti Urpala2009-05-081-1/+1
|\
| * Add missing 'void' to parameterless function declarations.diego2009-05-041-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28537Uoti Urpala2009-02-121-0/+17
|\|
| * Add standard license headers, unify header formatting.diego2009-02-081-0/+17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28310Uoti Urpala2009-01-151-1/+1
|\| | | | | | | | | | | | | | | The libdvdread4 and libdvdnav directories, which are externals in the svn repository, are at least for now not included in any form. I added configure checks to automatically disable internal libdvdread and libdvdnav if the corresponding directories are not present; if they're added manually then things work the same as in svn.
| * Add missing 'void' keyword to parameterless function declarations.diego2009-01-051-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28149Uoti Urpala2008-12-141-3/+3
|\|
| * Fix MGSTR vs. MSGTR typo.diego2008-12-091-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28122 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27441Uoti Urpala2008-08-081-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h command.c configure input/input.c libmpcodecs/dec_video.c libmpcodecs/vd.c libmpdemux/stheader.h libvo/sub.c libvo/video_out.c libvo/vo_xv.c libvo/vosub_vidix.c libvo/x11_common.c libvo/x11_common.h mp_core.h mplayer.c stream/stream.h
| * Change a bunch of X11-specific preprocessor directives.diego2008-08-041-1/+1
| | | | | | | | | | | | | | Switch from a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27399Uoti Urpala2008-08-021-1/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: libmpcodecs/vd.c libmpcodecs/ve_raw.c libvo/video_out.c libvo/x11_common.c mplayer.c
| * Rename two GUI-related preprocessor directives:diego2008-07-301-1/+1
| | | | | | | | | | | | | | HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26979Uoti Urpala2008-06-041-4/+15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the conflicts are trivial. Conflicts: Makefile cfg-mplayer.h input/input.c libmenu/vf_menu.c libmpcodecs/dec_video.c libmpcodecs/vf_expand.c libmpcodecs/vf_vo.c libmpdemux/demux_mkv.c libmpdemux/demuxer.c libmpdemux/demuxer.h libvo/vo_directfb2.c libvo/vo_gl.c libvo/vo_winvidix.c libvo/vo_xv.c libvo/vo_xvidix.c libvo/vo_xvmc.c libvo/x11_common.c mplayer.c osdep/timer-linux.c stream/cache2.c
| * Fix typo in string name.diego2008-05-271-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26900 b3059339-0415-0410-9bf9-f77b7e298cf2
| * make use of the new MGA_VID_VERSION ioctl to checkattila2008-05-231-0/+11
| | | | | | | | | | | | | | | | whether the installed driver has the version we expect it to have. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26863 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove useless parentheses from from return statements.diego2008-05-161-4/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Move vo_dx,vo_dy,vo_dwidth,vo_dheight to vo structUoti Urpala2008-04-231-0/+1
| |
* | Remove variable arguments from vo control() functionsUoti Urpala2008-04-231-1/+1
| | | | | | | | | | No voctrl uses them any more, and using them would not be a good idea because it makes forwarding arguments to other functions harder.
* | Change VOCTRL_[GET|SET]_EQUALIZER argument passingUoti Urpala2008-04-231-15/+10
|/ | | | | | | | These were the only voctrl types with more than one argument. The second argument was passed using variable arguments. Change them to use a single argument (address of a struct containing both old arguments). This makes forwarding the arguments to other functions easier and allows simplifying code.
* typo fix: inited --> initializeddiego2008-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-131-1/+1
| | | | | | | | | | | | | | | | | input.c: In function 'mp_input_set_section': input.c:1640: warning: suggest parentheses around assignment used as truth value input.c:1643: warning: suggest parentheses around assignment used as truth value mga_common.c: In function 'mga_init': mga_common.c:394: warning: suggest parentheses around assignment used as truth value playtreeparser.c: In function 'parse_smil': playtreeparser.c:523: warning: suggest parentheses around assignment used as truth value libmpdemux/demux_ts.c: In function 'ts_parse': libmpdemux/demux_ts.c:2795: warning: suggest parentheses around assignment used as truth value libmpdemux/demux_ts.c: In function 'demux_open_ts': libmpdemux/demux_ts.c:591: warning: 'frame_length' may be used uninitialized in this function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24444 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move debug message to verbose output level.diego2007-09-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24341 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-281-0/+2
| | | | | | | | vo_xmga.c: At top level: mga_common.c:212: warning: 'mga_fullscreen' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24261 b3059339-0415-0410-9bf9-f77b7e298cf2
* Assume first xinerama screen, in case xmga couldattila2007-08-281-0/+9
| | | | | | | never figure out on which screen it is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24253 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another unneeded xinerama_screen externreimar2007-06-241-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23637 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics, fix indentationattila2007-03-181-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22712 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow horizontal resolutions >1024 in case we have a G550attila2007-03-181-6/+29
| | | | | | | (actualy in case mga_vid doesn't deny it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a few gcc warnings, approved by Diego and Reimar.rathann2007-02-051-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lattila2006-06-251-1/+1
| | | | | | | fix 1023 <-> 1024 typo git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18819 b3059339-0415-0410-9bf9-f77b7e298cf2
* fail with an error if the source resolution is larger than 1023x1023attila2006-06-251-0/+6
| | | | | | | when using -vo (x)mga git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18815 b3059339-0415-0410-9bf9-f77b7e298cf2
* Software Scaler headers usage cleanuplucabe2006-06-181-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with ↵reynaldo2006-04-241-10/+11
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-5/+5
| | | | | | | | return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's changed to int now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-4/+4
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused headeer dependenciesalex2004-01-281-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11866 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_scale.h & related cleanup & some small warning fix by dominikmichael2003-06-011-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
* ugly ugly fix for michael's 1000l changes in swscaler: mysterious segfault ↵rfelker2003-04-271-0/+10
| | | | | | | | | w/g200 anyone have a better fix? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10006 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix panscan font resizing with vo_mgarfelker2003-04-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9995 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l to Gabu, this caused divide-by-zero with -vo mga. Apparentlyrfelker2003-03-291-2/+3
| | | | | | | | someone only tested -vo xmga. Feel free to reenable if you can fix the sigfpe properly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9728 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing truetype rescaling with (x)mga + panscangabucino2003-03-261-1/+2
| | | | | | | Patch by J. Makovicka git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9693 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix xmga + playbarpontscho2003-01-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9048 b3059339-0415-0410-9bf9-f77b7e298cf2
* xinerama fix part 1attila2003-01-181-3/+21
| | | | | | | xmga only for the moment, have to work on xvidix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8989 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't keep mga_vid device open if x11 init fails (fixes "-vo xmga,mga")rfelker2003-01-041-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8779 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-2/+5
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* panscan support in -vo mga (actually moved common code to mga_common.c)arpi2002-11-011-2/+91
| | | | | | | Ivan Szanto <szivan@duticai.TWI.TUDelft.NL> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8018 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo supportpontscho2002-10-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7778 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning found by Dominikarpi2002-10-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7696 b3059339-0415-0410-9bf9-f77b7e298cf2
* also set VFCAP_ACCEPT_STRIDE when draw_image() is implementedarpi2002-10-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7695 b3059339-0415-0410-9bf9-f77b7e298cf2
* draw_image() implementation (new libvo API)arpi2002-10-091-20/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7682 b3059339-0415-0410-9bf9-f77b7e298cf2
* more cleanup, some -vo mga fullscreen fixesarpi2002-10-091-10/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7681 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanuparpi2002-10-091-2/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7680 b3059339-0415-0410-9bf9-f77b7e298cf2
* preinit() has an arg... use it.arpi2002-10-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7677 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-221-9/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* eq fixed, based on patch by .soarpi2002-07-251-59/+66
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6800 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix audio equalizerpontscho2002-07-191-3/+15
| | | | | | | | | - rewrite video equalizer handling (i teszted with mga g400 [x]mga,xv,xvidix and radeon xv,xvidix ) - fix some small gtk bug - i dunno, i don't remember ... :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6756 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix panscan support and add Jesper Svennevid's <mplayer@svennevid.net> patchpontscho2002-06-101-7/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6383 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2002-06-071-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6336 b3059339-0415-0410-9bf9-f77b7e298cf2
* add mute support ( step 1 ) and fixed panscan bugs (1000l for me)pontscho2002-06-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6312 b3059339-0415-0410-9bf9-f77b7e298cf2
* added panscan support for xmga/xvidixpontscho2002-06-051-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6308 b3059339-0415-0410-9bf9-f77b7e298cf2
* wm detection -- round twopontscho2002-05-071-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6010 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen toggle for vo_mgarfelker2002-05-051-2/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5988 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2