Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: Jim on March 14, 2007

Title: DirectShow framework for C++
Post by: Jim on March 14, 2007
Here's a very basic framework for playing AVI video using DirectShow.  You don't need the DirectX SDK for this one, about a year ago DirectShow was moved into the Platform SDK and is part of the files you downloaded to install VS Express.

Jim
Title: Re: DirectShow framework for C++
Post by: rdc on March 14, 2007
Nice one Jim.
Title: Re: DirectShow framework for C++
Post by: benny! on March 14, 2007
Nice one.

One thing I guess concerning window event handling or so. When you compile it
using #define IN_OWN_WINDOW 1 - once the avi-playing window is in the
background - you have to resize / move it to see the actual avi again.

This doesn't occur with #define IN_OWN_WINDOW 0.

Anyway - great code as always, Jim!
Title: Re: DirectShow framework for C++
Post by: Jim on March 14, 2007
It's probably not pumping messages properly - thanks for the heads-up!

Jim