[gst-devel] _seek() & query_position() problem - a gstreamer bug?

Sharath Mudalamane sharath_m at mindtree.com
Mon Dec 24 16:00:03 CET 2007


Hello all,

I am developing a media player on Nokia 770. I am facing problems in
gst_element_seek() during playback ( mp3,wav,..).

 

PROBLEM:

After playback start, if I seek() within the ALREADY played back range (start
- current position) then seek() is fine.

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't come back UNTIL the actual playback position reaches the seeked
position. Also, I observed that the gst_element_query_position() doesn't
return the seeked position.

EXAMPLE:

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.

Now, if I seek anywhere between 0 to current time seek works fine with
gst_element_query_position() returning the correct position.

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 ( >
90 sec). Audio goes off for exactly for 40 secs ( 100 - 60 , ie., seeked time
= 100, current time = 60).

 

OTHER OBSERVATIONS:

Gst_element_seek() always returns TRUE. 

No assertions or hang-ups.

I see it only Nokia 770. Not on a linux PC.

 

QUESTION:

Is this the MIPS problem on Nokia 770?

 

 Thanks and regards,
 Sharath






DISCLAIMER:
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.
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.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071224/4a9fbef5/attachment.htm>


More information about the gstreamer-devel mailing list