Changes in Build 5456  
Author Message
MarcGBeauchamp





PostPosted: Media Foundation Development, Changes in Build 5456 Top

I just finished upgrading from 5381 to 5456. There seem to have been some changes in the API. Some events have dissapeared, some methods parameters have changed.

Would it be possible to get more information on changes, bug fixes, etc.

The documentation in the new Windows SDK seems acurate but the sample do not compile anymore. Will the samples be revised or are we going to get new ones

Thanks!

Marc




Audio and Video Development3  
 
 
Mike Wasson-MSFT





PostPosted: Media Foundation Development, Changes in Build 5456 Top

I think 5456 is the June CTP The samples got out of sync in that release, but they will be fixed either in the July CTP or RC1. I don't have a list of API changes handy, but the major change affecting the samples is that the following events were removed:

  • MESessionTopologyReady
  • MESessionTopologyStarted
  • MESessionPresentationSwitch
  • MESessionTopologyEnded

These events are replaced by MESessionTopologyStatus. This event contains an attribute, MF_EVENT_TOPOLOGY_STATUS. The value of the attribute indicates the status. Here is the mapping from the old events to the new status code:

  • MESessionTopologyReady = MF_TOPOSTATUS_READY
  • MESessionTopologyStarted = MF_TOPOSTATUS_STARTED_SOURCE
  • MESessionPresentationSwitch = MF_TOPOSTATUS_SINK_SWITCHED
  • MESessionTopologyEnded = MF_TOPOSTATUS_ENDED

Another change that affects the playlist sample is the signature for IMFSequencerSource::UpdateTopology has changed. I'm sure there are others I'm forgetting, but that should get you started. Let me know if you hit any other problems compiling the samples.

----------------------------------------------------------------------------
Mike Wasson, SDK Documentation
This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

(c) 2006 Microsoft Corporation. All rights reserved.



 
 
Brian Herdeg





PostPosted: Media Foundation Development, Changes in Build 5456 Top

I have the same problem with 5472...