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

Andrew Lyon andrew.lyon at gmail.com
Thu Feb 15 18:31:31 UTC 2007


On 2/15/07, Mark Buechler <mark.buechler at gmail.com> wrote:
> Much better, thanks.
>
> - Mark.
>
>
> On 2/14/07, Mark Buechler <mark.buechler at gmail.com> wrote:
> > That sounds familiar.. I think that went in to libmythtv after the latest
> ffmpeg rsync specifically for x86_64, if I remember correctly. Testing that
> patch now.
> >
> > - Mark.
> >
> >
> >
> > On 2/14/07, Alan Nisota <alannisota at gmail.com> wrote:
> > > 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
> > >
> > > _______________________________________________
> > > mythtv-dev mailing list
> > > mythtv-dev at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > >
> >
> >
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>

That patch fixes my crash problem too, and the other patch (multiple
dll init) has fixed the crash when watching multiple clips, beaut!

The colour issue remains, "vertical, colour/chroma ghosting" is a good
description, alan do you see the same on the other sample I sent?

Andy


More information about the mythtv-dev mailing list