<br><br>
<div><span class="gmail_quote">2007/7/6, Ross Finlayson &lt;<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&gt;Hi everyone,<br>&gt;<br>&gt;I have a problem in trick play mode to play a TS resource by an RTSP<br>&gt;session ...
<br>&gt;<br>&gt;I have modified openRTSP to send PLAY with scale = 2.0<br><br>Are you using the latest version of the code (version 2007.07.01)?<br>That version fixed a bug specifically related to scale == 2.0</blockquote>

<div>&nbsp;</div>
<div>Yes .... I&#39;m using the latest version ...</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&gt;&nbsp;&nbsp;and I have realized that timestamps are always the same value ....<br>&gt;<br>&gt;After a deep study I have realized that:
<br>&gt;<br>&gt;When MPEG2TransportFileServerMediaSubsession receive a<br>&gt;setStreamScale, ClientTrickPlayState change framer source in<br>&gt;MPEG2TransportStreamFromESSource.<br>&gt;<br>&gt;Doing this, MPEG2TransportStreamFromESSource has InputESSourceRecord
<br>&gt;that calculate presentation time and remember it in<br>&gt;afterGettingFrame1 function ...<br>&gt;<br>&gt;I think that is correct to assign presentationTime to<br>&gt;fParent.fPresentationTime ( related to<br>&gt;MPEG2TransportStreamFromESSource ) ...
<br>&gt;<br>&gt;Doing this I can see correct timestamps ...<br>&gt;<br>&gt;Is this work correct ?<br><br>Could you please submit your proposed change as a patch file (e.g.,<br>generated with &quot;diff -c&quot;), so I can better understand what you are
<br>proposing?<br>--</blockquote>
<div>&nbsp;</div>
<div>
<p>*** MPEG2TransportStreamFromESSource.cpp 2007-07-01 11:16:05.000000000 +0200<br>--- MPEG2TransportStreamFromESSource.cpp.new&nbsp; 2007-07-06 18:45:01.000000000 +0200<br>***************<br>*** 251,256 ****<br>--- 251,258 ----
</p>
<p>&nbsp;&nbsp;&nbsp; fInputBufferBytesAvailable += frameSize;</p>
<p>+&nbsp;&nbsp; fParent.fPresentationTime = presentationTime;<br>+<br>&nbsp;&nbsp;&nbsp; // Now that we have new input data, check if we can deliver to the client:<br>&nbsp;&nbsp;&nbsp; fParent.awaitNewBuffer(NULL);<br>&nbsp; }<br></p></div>
<div>what do you think about ?</div>
<div>&nbsp;</div>
<div>Massimo</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a><br>
_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel">
http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div><br>