DirectShow Hanging for me

  • PGP_Protector

    PGP_Protector - 2013-05-22

    I'm trying to use C# and the DirectShowLib-2005.DLL to capture Images from a video stream.
    Running on Windows 7 Ultimate 4G Mem 64 Bit OS.

    Developing with Visual Studio 2010 Net 3.5 Application

    This Simple app hangs on my system when you do the following.
    Run / Debug the app & toggle the Viewing Window multiple times (5-20 Times in about 2-3 Minutes)
    If I Don't Connect the VideoOutPin to the NullIn (DirectShowBuilder.cs.BuillNullGraph) line 198 (I.E. Remark it out) the application will build and NOT Hang when I toggle the display screen.

    I've reduced my code to this minimum during my debugging, and it will also hang on me when build at Release & run outside of Visual Studio.

    I'm assuming there's something wrong with how
    Any Help would be appreciated.

    Full source project -> Drop Box Public Link

  • snarfle

    snarfle - 2013-05-23

    Sorry, nothing jumps out at me.

  • PGP_Protector

    PGP_Protector - 2013-05-23

    Found a fix, now to figure out why.
    Removing [STAThread] from Program.cs fixes the hanging issue.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks