Mercurial > mplayer.hg
view loader/win32.h @ 25063:29260745e4fa
Pass all available formats to chain building routine and
establish connection with first of available formats.
This will make further format negotiation patch slightly
simpler.
To avoid pins connection error due to unsuported format
at top of the list, put requested video format to the
top of list. This will also useful with upcoming patch -
negotiation will be started from requested format.
author | voroshil |
---|---|
date | Sun, 18 Nov 2007 10:51:22 +0000 |
parents | 53ca44efadce |
children | b70f5ac9c001 |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ * $Id$ */ #ifndef LOADER_WIN32_H #define LOADER_WIN32_H #include <time.h> #include "wine/windef.h" #include "wine/winbase.h" #include "com.h" #ifdef AVIFILE #ifdef __GNUC__ #include "avm_output.h" #ifndef __cplusplus #define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__) #endif #endif #endif extern void my_garbagecollection(void); typedef struct { UINT uDriverSignature; HINSTANCE hDriverModule; DRIVERPROC DriverProc; DWORD dwDriverID; } DRVR; typedef DRVR *PDRVR; typedef DRVR *NPDRVR; typedef DRVR *LPDRVR; typedef struct tls_s tls_t; extern void* LookupExternal(const char* library, int ordinal); extern void* LookupExternalByName(const char* library, const char* name); #endif /* LOADER_WIN32_H */