Mercurial > mplayer.hg
view tremor/block.h @ 27988:84bad10e6d8d
Allow vo_macosx to be compiled in 64-bits mode:
- Replace usage of undocumented Apple function CPSEnableForegroundOperation()
(which is available in 32-bits mode, but not in 64-bits mode) by
TransformProcessType() which is public, documented, and available since OSX 10.3.
- Work around Apple bug #6267445 since OSServices Power API is diabled in
64-bits systems
Based on patch by Gregor Riepl %onitake A gmail P com%
posted in thread:
date: Fri, Oct 3, 2008 at 4:49 PM
subject: Re: [MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz
author | gpoirier |
---|---|
date | Mon, 24 Nov 2008 13:22:18 +0000 |
parents | 8dfda4d651ec |
children |
line wrap: on
line source
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * * * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * * * ******************************************************************** function: basic shared block operations ********************************************************************/ #ifndef _V_BLOCK_H_ #define _V_BLOCK_H_ void *_vorbis_block_alloc(vorbis_block *vb,long bytes); void _vorbis_block_ripcord(vorbis_block *vb); #endif