<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<div>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Hello all,<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>I am developing a media player on Nokia
770. I am facing problems in gst_element_seek() during playback ( mp3,wav,..).<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>PROBLEM:<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>After playback start, if I seek() within
the ALREADY played back range (start &#8211; current position) then seek() is
fine.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>If I seek() outside the ALREADY played back
range (in other words, farthest played position to end position), I observe
that the audio goes off and doesn&#8217;t come back UNTIL the actual playback
position reaches the seeked position. Also, I observed that the
gst_element_query_position() doesn&#8217;t return the seeked position.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>EXAMPLE:<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>1 . I start playback of a 2 min stream. After
5 secs, I seek to 30 sec, now audio goes off. Now, gst_element_query_position()
is still returning me the current playback time. The audio comes back after
exactly 25 secs.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Now, if I seek anywhere between 0 to
current time seek works fine with gst_element_query_position() returning the
correct position.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>2. I start playback of a 2min stream. I
play for 90 sec. seek() to 30. this is ok! I seek() to 60. This is also ok!
But, now if I seek() to 100 sec ( &gt; 90 sec). Audio goes off for exactly for
40 secs ( 100 &#8211; 60 , ie., seeked time = 100, current time = 60).<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>OTHER OBSERVATIONS:<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Gst_element_seek() always returns TRUE. <o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>No assertions or hang-ups.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>I see it only Nokia 770. Not on a linux PC.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>QUESTION:<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>Is this the MIPS problem on Nokia 770?<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;Thanks and regards,<br>
&nbsp;Sharath<br>
<br>
<br>
<o:p></o:p></span></font></p>

</div>

</div>

<p></p><p><b>DISCLAIMER:</b><br><br>This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.</p><p>E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.</p> <p>Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.</p> <p>MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.</p></body>

</html>