MediaStreamSample.DecodeTimestamp Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets and sets the decode timestamp for this MediaStreamSample.
public:
property TimeSpan DecodeTimestamp { TimeSpan get(); void set(TimeSpan value); };
TimeSpan DecodeTimestamp();
void DecodeTimestamp(TimeSpan value);
public System.TimeSpan DecodeTimestamp { get; set; }
var timeSpan = mediaStreamSample.decodeTimestamp;
mediaStreamSample.decodeTimestamp = timeSpan;
Public Property DecodeTimestamp As TimeSpan
Property Value
The decode timestamp.
Remarks
The default value of DecodeTimestamp is the same value as the Timestamp property on the MediaStreamSample object. Certain media formats may require the DecodeTimestamp property to be assigned a value that is different from the presentation timestamp given by the Timestamp property, but for most formats the two properties will be the same.