// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PV2WAY_ENGINE_SDKINFO_LABEL "968909"
-#define PV2WAY_ENGINE_SDKINFO_DATE 0x20090917
+#define PV2WAY_ENGINE_SDKINFO_LABEL "971436"
+#define PV2WAY_ENGINE_SDKINFO_DATE 0x20090918
#endif //PV_2WAY_SDKINFO_H_INCLUDED
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PVAUTHOR_ENGINE_SDKINFO_LABEL "968909"
-#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20090917
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "971436"
+#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20090918
#endif //PV_AUTHOR_SDKINFO_H_INCLUDED
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PVPLAYER_ENGINE_SDKINFO_LABEL "968909"
-#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20090917
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "971436"
+#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20090918
#endif //PV_PLAYER_SDKINFO_H_INCLUDED
#define PVMF_BASE_NODE_DELETE(ptr) OSCL_DELETE(ptr)
#define PVMF_BASE_NODE_ARRAY_DELETE(ptr) OSCL_ARRAY_DELETE(ptr)
+// Default value of media sample Duration
+#define PVMF_DEFAULT_TRACK_DURATION 0xFFFFFFFF
/************************************** PVMFNODEINTERFACEIMPL ***********************************/
protected:
// protected routines
- OSCL_IMPORT_REF bool SendEndOfTrackCommand(PVMFPortInterface* aPort, int32 aStreamID, PVMFTimestamp aTimestamp, int32 aSeqNum);
+ OSCL_IMPORT_REF bool SendEndOfTrackCommand(PVMFPortInterface* aPort, int32 aStreamID, PVMFTimestamp aTimestamp, int32 aSeqNum, uint32 aDuration = PVMF_DEFAULT_TRACK_DURATION);
OSCL_IMPORT_REF bool SendBeginOfMediaStreamCommand(PVMFPortInterface* aPort, int32 aStreamID, PVMFTimestamp aTimestamp);
OSCL_IMPORT_REF void CommandComplete(PVMFNodeCmdQ& aCmdQ, PVMFNodeCommand& aCmd, PVMFStatus aStatus,
PVInterface* aExtMsg = NULL, OsclAny* aEventData = NULL, PVUuid* aEventUUID = NULL, int32* aEventCode = NULL);
}
}
-OSCL_EXPORT_REF bool PVMFNodeInterfaceImpl::SendEndOfTrackCommand(PVMFPortInterface* aPort, int32 aStreamID, PVMFTimestamp aTimestamp, int32 aSeqNum)
+OSCL_EXPORT_REF bool PVMFNodeInterfaceImpl::SendEndOfTrackCommand(PVMFPortInterface* aPort, int32 aStreamID, PVMFTimestamp aTimestamp, int32 aSeqNum, uint32 aDuration)
{
PVMF_NODEINTERFACE_IMPL_LOGSTACKTRACE((0, "%s::SendEndOfTrackCommand StreamID %d In", iNodeName.Str(), iStreamID));
// set sequence number
sharedMediaCmdPtr->setSeqNum(aSeqNum);
+ //EOS timestamp(aTrackPortInfo.iTimestamp)is considered while deciding the iResumeTimeStamp in the mediaoutput node
+ //therefore its length should also be considered while making decision to forward or drop the packet
+ //at the mediaoutput node.
+ if (PVMF_DEFAULT_TRACK_DURATION != aDuration)
+ {
+ sharedMediaCmdPtr->setDuration(aDuration);
+ }
+
PVMFSharedMediaMsgPtr mediaMsgOut;
convertToPVMFMediaCmdMsg(mediaMsgOut, sharedMediaCmdPtr);