summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Remove the internal GUIAnton Khirnov2009-07-0716-215/+2
| | | | | | | | | 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.
* Merge svn changes up to r29412Uoti Urpala2009-07-074-50/+43
|\
| * Revert "fix missing event on move that breaks xmga window movement"Uoti Urpala2009-07-071-2/+1
| | | | | | | | | | | | | | | | | | The reverted commit had a harmful effect on other VOs as it produced bogus events that caused unnecessary load and flicker at least when moving the window while paused. A proper fix would need a separate event type. So revert this commit before merging the changes to the master branch; it'll leave xmga window movement broken, but I consider that less important than the other VOs.
| * 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
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29396 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless castsreimar2009-06-261-4/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29395 b3059339-0415-0410-9bf9-f77b7e298cf2
| * fbdev: remove pointless ()reimar2009-06-261-9/+9
| | | | | | | | 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.reimar2009-06-261-1/+1
| | | | | | | | 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 areimar2009-06-261-1/+1
| | | | | | | | | | | | | | | | 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 movementattila2009-06-191-1/+2
| | | | | | | | | | | | | | 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,siretart2009-06-171-1/+1
| | | | | | | | | | | | | | 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 ↵adrian2009-05-181-4/+6
| | | | | | | | | | | | 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 ↵adrian2009-05-181-2/+4
| | | | | | | | | | | | accumulate until exit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29313 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1358-1288/+1288
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-0761-1279/+1265
| |
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-0725-297/+314
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-0725-294/+294
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | video_out.c: Fix a minor memory leakUoti Urpala2009-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The code that loops over possible video output drivers and tries to find a working one does not free and reallocate the 'struct vo' if a driver's preinit() call fails, but just overwrites the same struct instead. This means that any memory the failing driver allocated as a talloc subcontext will not be freed immediately. This is not even a real leak as the memory will be freed once the VO is closed, but it's still nicer to free things immediately. Add talloc_free_children() to free any such talloc subcontexts that were created during the failing preinit().
* | Merge svn changes up to r29277Uoti Urpala2009-05-0812-55/+53
|\|
| * Do not use flag CWBackPixel when calling vo_x11_create_vo_window():cehoyos2009-05-081-1/+3
| | | | | | | | | | | | | | | | | | 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.diego2009-05-046-18/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Rename macosx video output driver to corevideo.diego2009-05-043-21/+21
| | | | | | | | 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.diego2009-05-041-1/+1
| | | | | | | | | | | | | | 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.reimar2009-04-231-11/+6
| | | | | | | | | | | | | | | | | | 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 ↵gpoirier2009-04-211-1/+1
| | | | | | | | | | | | | | | | | | 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.diego2009-04-201-13/+13
| | | | | | | | | | | | | | 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 stefanorik2009-04-131-1/+1
| | | | | | | | 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.gpoirier2009-04-131-0/+1
| | | | | | | | | | | | | | | | | | 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
* | x11_common.h: Remove declarations of some nonexistent variablesUoti Urpala2009-05-041-3/+0
| |
* | Merge svn changes up to r29154Uoti Urpala2009-04-092-31/+31
|\| | | | | | | | | Synchronizes runtime CPU detection handling in the build system with latest FFmpeg.
| * Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.ramiro2009-04-082-31/+31
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge branch 'ordered_chapters'Uoti Urpala2009-04-086-7/+5
|\ \
| * | VO: Don't reset pause status in VO config() functionsUoti Urpala2009-04-025-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Many VOs kept track of pause status, but reset the value when their config() function was called. However it can be called while playback stays in pause mode. Modify the VOs to not change anything in config(). Also send the VO either VOCTRL_PAUSE or VOCTRL_RESUME when the playback of a new file is starting to make sure they have the right status.
| * | VO: Don't force window position in X11 VOsUoti Urpala2009-03-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable by default the code that forcefully moved the video output window to the middle of the screen whenever it was reconfigured or created. That behavior was really annoying when switching video streams within a file, and overriding the window manager like that is not good default behavior for the initial creation of a window either. Add a new option "-force-window-position" that can be used to restore the old behavior.
* | | vo_xv: Fix context Shminfo table sizeUoti Urpala2009-04-051-1/+1
| | | | | | | | | | | | | | | This bug could cause problems if you used -dr with xv. The most likely symptom was crash at uninit.
* | | Make VO xv preferred over vdpau againUoti Urpala2009-04-021-3/+3
| | | | | | | | | | | | | | | I can still reproduce bugs easily with vo vdpau, and there's no pause update support for it yet.
* | | Merge svn changes up to r29134Uoti Urpala2009-04-022-6/+3
|\ \ \ | | |/ | |/|
| * | Remove unnecessary malloc.h #includes and related #ifdeffery.diego2009-04-021-3/+0
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Prefer vo vdpau over vo xv where available.cehoyos2009-03-311-3/+3
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29118 b3059339-0415-0410-9bf9-f77b7e298cf2
* | | Merge svn changes up to r29117Uoti Urpala2009-04-0120-153/+238
|\| |
| * | Get rid of nonsensical limits on -geometry x, y,w and h values, they onlyreimar2009-03-311-15/+8
| | | | | | | | | | | | | | | | | | | | | cause confusion on multi-monitor setups. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29112 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Support IMGFMT_NV12 for vo vdpau.cehoyos2009-03-301-0/+6
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29109 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Make sure we do not accidentally use the vdp_get_error_string from thereimar2009-03-301-0/+1
| | | | | | | | | | | | | | | | | | | | | previous initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29106 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Add support for IMGFMT_YUY2 and IMGFMT_UYVY to vo vdpau.cehoyos2009-03-291-2/+20
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29105 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | VDPAU supports IMGFMT_I420 and IMGFMT_IYUV.cehoyos2009-03-291-0/+2
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29104 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Consistently use MP_MAX_PLANES as size for plane pointer/stride arrays in libvo.reimar2009-03-294-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | This might avoid some issues since sws_scale in some cases assumes these have at least 4 valid entries. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29101 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Cosmetics: Reindent after last commit.cehoyos2009-03-291-1/+1
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29094 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | 10l: Don't use MP_IMGFIELD_TOP_FIRST if MP_IMGFIELD_ORDERED is not set.cehoyos2009-03-291-0/+3
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29093 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Simplify vdpau deinterlacing code and fix timing for deint=2.cehoyos2009-03-251-7/+7
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29061 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | New VDPAU deinterlacing code needs one reference surface less for software ↵cehoyos2009-03-241-1/+1
| | | | | | | | | | | | | | | | | | decoding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29053 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | New vdpau deinterlacing code needs one reference surface less.cehoyos2009-03-241-6/+5
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29052 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Stephen Warren reported that VDPAU deinterlacing did not work correctly.cehoyos2009-03-241-4/+10
| | | | | | | | | | | | | | | | | | | | | New static function push_deint_surface() by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29051 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Change function call order in config().cehoyos2009-03-221-10/+5
| | | | | | | | | | | | | |