[mythtv] Updated patch for directshow filters with MythTV (for CoreAVC)

Alan Nisota alannisota at gmail.com
Thu Feb 15 02:43:38 UTC 2007


Mark Buechler wrote:
> Alan, here's how far mine gets:
>
> Trying DirectShow
> Destroying filter!
> tid:92c4dbb0 External func kernel32.dll:LoadLibraryA
> tid:92c4dbb0 External func kernel32.dll:GetProcAddress
> tid:92c4dbb0 External func kernel32.dll:VirtualAlloc
> tid:92c4dbb0 External func kernel32.dll:VirtualFree
> tid:92c4dbb0 External func VERSION.dll:GetFileVersionInfoA
> tid:92c4dbb0 External func USER32.dll:GetWindowLongW
> tid:92c4dbb0 External func GDI32.dll:TextOutW
> tid:92c4dbb0 External func ADVAPI32.dll:RegEnumKeyExW
> tid:92c4dbb0 External func ole32.dll:CoTaskMemAlloc
> tid:92c4dbb0 External func OLEAUT32.dll:417

I was able to reproduce.  Here is a patch that should fix it.  using 
-fomit-frame-pointer doesn't play nice with the win32 code.
Index: libs/libdshowloader/libdshowloader.pro
===================================================================
--- libs/libdshowloader/libdshowloader.pro.orig 2007-02-14 
18:40:41.000000000 -0800
+++ libs/libdshowloader/libdshowloader.pro      2007-02-14 
18:40:38.000000000 -0800
@@ -57,6 +57,10 @@
     QMAKE_LFLAGS_SHLIB += -seg1addr 0xC2000000
 }
 
+# omit-frame-pointer doesn't play nice iwth win32 code
+QMAKE_CFLAGS_RELEASE -= -fomit-frame-pointer
+QMAKE_CFLAGS_DEBUG   -= -fomit-frame-pointer
+
 mythregistercodec.depends += modify_reg.c registry.c
 mythregistercodec.commands += $(CC) -o mythregistercodec modify_reg.c
 QMAKE_EXTRA_UNIX_TARGETS += mythregistercodec



More information about the mythtv-dev mailing list