<font size=2 face="Arial">Hi,</font>
<br><font size=2 face="Arial">if I play .mkv files in my app, then seeking
to a position i not performed correctly.</font>
<br><font size=2 face="Arial">I have an filesrc, decodbin and an appsink.</font>
<br><font size=2 face="Arial">If I call </font>
<br><font size=1 face="}">    gst_element_seek(GST_ELEMENT(m_pipeline),
1.0, GST_FORMAT_DEFAULT, GST_SEEK_FLAG_FLUSH,</font>
<br><font size=1 face="}">      GST_SEEK_TYPE_SET, qMin(i_stamp,
m_duration), GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE);</font>
<br>
<br>
<br><font size=1 face="}">    gst_element_query_position(GST_ELEMENT(m_pipeline),
GST_FORMAT_DEFAULT, &stamp);</font>
<br>
<br><font size=2 face="Arial">then stamp contains same value as i_stamp,
the stamp I want to set. It does not matter if I use stamp or frame mode
(</font><font size=1 face="}">GST_FORMAT_DEFAULT</font><font size=2 face="Arial">
or </font><font size=1 face="}">GST_FORMAT_TIME)</font><font size=2 face="Arial">.</font>
<br><font size=2 face="Arial">behaviour is same in both modes.</font>
<br><font size=2 face="Arial">The problem is that the next buffer I get
in my appsink has a stamp which is about 2-3 frame behind the frame I set.
The problem occurs only in some .mkv files. Some work, other format like
.avi or .mov also work.</font>
<br>
<br>
<br><font size=2 face="Arial">Hella Aglaia Mobile Vision GmbH<br>
Steffen Roeber<br>
Firmware & Tools<br>
Treskowstr. 14, D-13089 Berlin<br>
Amtsgericht Berlin-Charlottenburg HRB 66976 B<br>
Geschäftsführer: Kay Talmi<br>
<br>
Fon:  +49 30 200 04 29– 412<br>
Fax:  +49 30 200 04 29– 109<br>
Mail: Steffen.Roeber@hella.com<br>
URL: </font><a href="www.aglaia-gmbh.de"><font size=2 face="Arial">www.aglaia-gmbh.de</font></a><font size=2 face="Arial"><br>
<br>
URL: </font><a href=www.mobilevision.de><font size=2 face="Arial">www.mobilevision.de</font></a><font size=2 face="Arial"><br>
<br>
Dieses Dokument ist vertraulich zu behandeln. Die Weitergabe sowie Vervielfältigung,
Verwertung und Mitteilung seines Inhalts ist nur mit unserer ausdrücklichen
Genehmigung gestattet. Alle Rechte vorbehalten, insbesondere für den Fall
der Schutzrechtsanmeldung.<br>
This document has to be treated confidentially. Its contents are not to
be passed on, duplicated, exploited or disclosed without our express
permission. All rights reserved, especially the right to apply for protective
rights.</font>