Re: [Q] How to retrieve FourCC code for XDCam clips?
Re: [Q] How to retrieve FourCC code for XDCam clips?
- Subject: Re: [Q] How to retrieve FourCC code for XDCam clips?
- From: JongAm Park <email@hidden>
- Date: Mon, 10 Aug 2009 09:45:45 -0700
Oh.. again... I should answer to my question.
Last Friday, the sample code I found on internet used track numbers indexed from 0 as the 2nd parameter of the GetMediaSampleDescriptionCount().
The document says : indexThe index of the SampleDescription structure to retrieve. This index corresponds to the structure itself, not to the samples in the media. Index numbers start with 1.
Because GetMediaSampleDescriptionCount() returned 1, I tried passing 1 as the second parameter, and it retrieved correct values. However, it is not still clear what "the index corresponds to the structure itself". Using "1" by looking up the GetMediaSampleDescriptionCount() feels like "the samples in the media".
It will be pretty good if there is "Do" and "Don't" example for this. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden