Mercurial > mplayer.hg
view loader/loader.h @ 29794:df1826dcdb2d
Disable audio when initializing the filter chain fails (can happen e.g. when the hwmpa
decoder is used but the hardware does not support hardware MPEG audio).
Otherwise this will lead to a crash later on when the decode code tries to access
the audio filter chain.
author | reimar |
---|---|
date | Fri, 06 Nov 2009 15:56:30 +0000 |
parents | a8ea87c71d18 |
children | 26f673ba0675 |
line wrap: on
line source
/******************************************************** Win32 binary loader interface Copyright 2000 Eugene Kuznetsov (divx@euro.ru) Shamelessly stolen from Wine project *********************************************************/ /* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_LOADER_H #define MPLAYER_LOADER_H #ifdef __cplusplus extern "C" { #endif #include "wine/windef.h" #include "wine/driver.h" #include "wine/mmreg.h" #include "wine/vfw.h" #include "wine/msacm.h" unsigned int GetPrivateProfileIntA_(const char* appname, const char* keyname, int default_value, const char* filename); int GetPrivateProfileStringA_(const char* appname, const char* keyname, const char* def_val, char* dest, unsigned int len, const char* filename); int WritePrivateProfileStringA_(const char* appname, const char* keyname, const char* string, const char* filename); INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id, LPSTR buffer, INT buflen ); #ifdef __cplusplus } #endif #endif /* MPLAYER_LOADER_H */