diff options
author | Dave Robillard <dave@drobilla.net> | 2009-08-09 00:14:42 -0400 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-08-09 00:14:42 -0400 |
commit | af3f7e7f20eaf961f4384940ec6ad987bb0afbb6 (patch) | |
tree | c42a7ad4f2dea47dd645a729a6ee0399bd80cfb1 /sys/dshowsrcwrapper/gstdshow.cpp | |
parent | adadf06b0a9e26005ba9363aa0049dc0b740c94d (diff) | |
parent | dd5afbf0c6557ad89994cbfd91e4117e8503b81a (diff) | |
download | gst-plugins-bad-af3f7e7f20eaf961f4384940ec6ad987bb0afbb6.tar.gz gst-plugins-bad-af3f7e7f20eaf961f4384940ec6ad987bb0afbb6.tar.bz2 gst-plugins-bad-af3f7e7f20eaf961f4384940ec6ad987bb0afbb6.zip |
Merge branch 'fdo' into lv2
Diffstat (limited to 'sys/dshowsrcwrapper/gstdshow.cpp')
-rwxr-xr-x | sys/dshowsrcwrapper/gstdshow.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sys/dshowsrcwrapper/gstdshow.cpp b/sys/dshowsrcwrapper/gstdshow.cpp index ed27d631..4b090346 100755 --- a/sys/dshowsrcwrapper/gstdshow.cpp +++ b/sys/dshowsrcwrapper/gstdshow.cpp @@ -22,44 +22,6 @@ #include "gstdshow.h" #include "gstdshowfakesink.h" -CFactoryTemplate g_Templates[]= -{ - { - L"DSHOW fake sink filter" - , &CLSID_DshowFakeSink - , CDshowFakeSink::CreateInstance - , NULL - , NULL - } -}; - -int g_cTemplates = sizeof(g_Templates)/sizeof(g_Templates[0]); -static HINSTANCE g_hModule = NULL; - -extern "C" BOOL WINAPI DllEntryPoint(HINSTANCE, ULONG, LPVOID); -BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved) -{ - if (!g_hModule) - g_hModule = (HINSTANCE)hModule; - - return DllEntryPoint((HINSTANCE)(hModule), dwReason, lpReserved); -} - -STDAPI DllRegisterServer() -{ - return AMovieDllRegisterServer2 (TRUE); -} - -STDAPI DllUnregisterServer() -{ - return AMovieDllRegisterServer2 (FALSE); -} - -HRESULT gst_dshow_register_fakefilters () -{ - return DllRegisterServer(); -} - void gst_dshow_free_mediatype (AM_MEDIA_TYPE *pmt) { |