Im looking into movie Play back in my directx 10 app for cut scenes.
I had to down load the windows dsk 7. As Windows SDK 7.1 does not work and the fixes on the net do nothing to fix it I think its vista.
but none of the windows 7.0 sample code for media foundation run I get errors like this here.
error C2146: syntax error : missing ';' before identifier 'hdr'
1>c:\program files\microsoft sdks\windows\v6.0a\include\prsht.h(666) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\prsht.h(666) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\windows.h(238) : warning C4193: #pragma warning(pop) : no matching '#pragma warning(push)'
1>c:\program files\microsoft sdks\windows\v7.0\include\evr.h(1302) : error C2061: syntax error : identifier 'IMFTransform'
they point to the core file the headers like this head here
this is in prsht.h its like the headers have errors what they dont debug there stuff now ???????.
typedef
struct _PSHNOTIFY
{
NMHDR hdr;
LPARAM lParam;
} PSHNOTIFY, *LPPSHNOTIFY;
its saying there is errors here
typedef
/* [v1_enum] */
enum
MF_SOURCE_READER_FLAG
{ MF_SOURCE_READERF_ERROR = 0x1,
MF_SOURCE_READERF_ENDOFSTREAM = 0x2,
MF_SOURCE_READERF_NEWSTREAM = 0x4,
MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x10,
MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x20,
MF_SOURCE_READERF_STREAMTICK = 0x100
} MF_SOURCE_READER_FLAG;
DEFINE_ENUM_FLAG_OPERATORS(MF_SOURCE_READER_FLAG)
typedef
/* [v1_enum] */
enum
MF_SOURCE_READER_CONTROL_FLAG
{ MF_SOURCE_READER_CONTROLF_DRAIN = 0x1
} MF_SOURCE_READER_CONTROL_FLAG;
this is in mfreadwrite.h
do I have to use Direct Show them samples sort of work..
I would like to use media foundion.