summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | | | | | | | | | | | | | | | | | | This stops creating a window even if hardware decoding is certainly going to fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29040 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | 10l: Only try to create vdpau decoder if hardware decoding is intended.cehoyos2009-03-211-1/+1
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29028 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Test if create_vdp_decoder() might succeed by calling it from config()cehoyos2009-03-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with a small value for max_reference_frames. This does not make automatic recovery by using software decoder possible, but lets MPlayer fail more graciously on - actually existing - buggy hardware that does not support certain H264 widths when using hardware accelerated decoding (784, 864, 944, 1024, 1808, 1888 pixels on NVIDIA G98) and if the user tries to hardware-decode more samples at the same time than supported. Might break playback of H264 Intra-Only samples on hardware with very little video memory. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29027 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Change return value for create_vdp_decoder().cehoyos2009-03-211-3/+3
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29026 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Factorize create_vdp_decoder().cehoyos2009-03-211-32/+40
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29024 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.cehoyos2009-03-181-4/+24
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Add chroma-deint option to vo vdpau (nochroma-deint speeds up deinterlacing).cehoyos2009-03-161-0/+11
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28979 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Check mpi type before returning an DR buffer in get_image, fixes jerkinessreimar2009-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | | with MPEG1/2 and -dr -slices git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28974 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Move initialisation of deint_surfaces[] to free_video_specific().cehoyos2009-03-151-4/+4
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28971 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Update -vo vdpau command line help.cehoyos2009-03-151-4/+4
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28970 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Cosmetics: Fix whitespace.cehoyos2009-03-151-1/+1
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28969 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Initial support for advanced VDPAU deinterlacers (software-decoded videocehoyos2009-03-151-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | only). With a lot of help from Reimar git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28968 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Fix warning: Add forgotten 'int' to variable declaration.iive2009-03-151-1/+1
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28965 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | cosmetics: Remove file names from file header, it only causes trouble.diego2009-03-152-2/+2
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Remove obsolete extra elements from opt_t struct initialization.diego2009-03-158-37/+37
| | | | | | | | | | | | | | | | | | | | | Fixes a bunch of 'excess elements in struct initializer' warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28957 b3059339-0415-0410-9bf9-f77b7e298cf2
| * | Get rid of pointless preprocessor condition indirection and use ARCH_X86diego2009-03-152-23/+17
| | | | | | | | | | | | | | | | | | | | | directly instead of CAN_COMPILE_X86_ASM. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28956 b3059339-0415-0410-9bf9-f77b7e298cf2
| * |