示例#1
0
 private void UpdateAuFromPacketInfo(MpegAu MpegAu, MpegPsDemuxer.PacketizedStream Info)
 {
     MpegAu.SceMpegAu.DecodeTimestamp       = Info.dts.Value;
     MpegAu.SceMpegAu.PresentationTimestamp = Info.pts.Value;
     //MpegAu.SceMpegAu.DecodeTimestampHigh = (uint)Info.dts.Value;
     //MpegAu.SceMpegAu.DecodeTimestampLow = MpegPsDemuxer.MpegTimestampPerSecond;
     //MpegAu.SceMpegAu.PresentationTimestampHigh = (uint)Info.pts.Value;
     //MpegAu.SceMpegAu.PresentationTimestampLow = MpegPsDemuxer.MpegTimestampPerSecond;
     MpegAu.SceMpegAu.AuSize = (int)Info.Stream.Length;
 }
示例#2
0
文件: Mpeg.cs 项目: soywiz/cspspemu
		private void UpdateAuFromPacketInfo(MpegAu MpegAu, MpegPsDemuxer.PacketizedStream Info)
		{
			MpegAu.SceMpegAu.DecodeTimestamp = Info.dts.Value;
			MpegAu.SceMpegAu.PresentationTimestamp = Info.pts.Value;
			//MpegAu.SceMpegAu.DecodeTimestampHigh = (uint)Info.dts.Value;
			//MpegAu.SceMpegAu.DecodeTimestampLow = MpegPsDemuxer.MpegTimestampPerSecond;
			//MpegAu.SceMpegAu.PresentationTimestampHigh = (uint)Info.pts.Value;
			//MpegAu.SceMpegAu.PresentationTimestampLow = MpegPsDemuxer.MpegTimestampPerSecond;
			MpegAu.SceMpegAu.AuSize = (int)Info.Stream.Length;
		}