<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Thanks for everyone's help!<br>
    I have got the issue fixed, it's the amrwbdec:<br>
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'AR PL UKai CN'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="color: rgb(51, 51, 51);
        font-family: Verdana,sans-serif; font-size: small;">
        <pre class="bz_comment_text" id="comment_text_22" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em;">just add one line in the amrwbdec.c of
gst-plugins-ugly-0.10.16.

288: if (!block || gst_adapter_available (amrwbdec-&gt;adapter) &lt; block)
     + {
     +  gst_adapter_clear (amrwbdec-&gt;adapter);
      break;
     + }</pre>
      </span></span><span class="Apple-style-span"
      style="border-collapse: separate; color: rgb(0, 0, 0);
      font-family: 'AR PL UKai CN'; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: 2; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 2; word-spacing: 0px; font-size:
      medium;"><span class="Apple-style-span" style="color: rgb(51, 51,
        51); font-family: Verdana,sans-serif; font-size: small;">
        <pre class="bz_comment_text" id="comment_text_22" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em;">Because when there are incorrect data, if you don't clear it, the next checking
is still incorrect.</pre>
      </span></span><br>
    <br>
    <br>
    On 2011&#24180;01&#26376;10&#26085; 21:00, sudarshan bisht wrote:
    <blockquote
      cite="mid:AANLkTi=n4KOsSuXos1dWb9hgE9vT_23ihfcKavpv5uRw@mail.gmail.com"
      type="cite"><br>
      &nbsp;It seems amrwbdec does not handle src pad event (seek ) and thats
      why there is a blocking.&nbsp; There is a lack of implementation of src
      event handling thats why kept in gst-plugins-ugly.<br>
      &nbsp;<br>
      <br>
      <div class="gmail_quote">
        On Mon, Jan 10, 2011 at 11:39 AM, jorney <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:jorney_dong@asus.com">jorney_dong@asus.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <br>
          Hi<br>
          I am writing amr-wb player with gstreamer on Marvell pxa310.<br>
          When I seek to a position by time format, there is a long time
          blocking<br>
          (10 sec or even to 1 min), and there is no voice during the
          block, then<br>
          an EOS message was emitted,<br>
          but the position I seeked is far away to the end of the file.<br>
          <br>
          Bytes format has the same problem! here is my seek code:<br>
          <br>
          breslt = gst_element_seek(pipeline,<br>
          1.0,<br>
          GST_FORMAT_BYTES,<br>
GST_SEEK_FLAG_FLUSH,//|GST_SEEK_FLAG_KEY_UNIT|GST_SEEK_FLAG_SEGMENT,<br>
          GST_SEEK_TYPE_SET,<br>
          bytePos,//GST_SECOND*nForw*count,<br>
          GST_SEEK_TYPE_NONE,<br>
          GST_CLOCK_TIME_NONE<br>
          );<br>
          <br>
          I use gstreamer-0.10.29 and gst-plugins-ugly-0.10.15's
          amrwbdec,<br>
          gst-plugins-bad-0.10.13's amrparse. like this:<br>
          <br>
          gst-launch filesrc location=abc.amr ! amrparse ! amrwbdec !
          alsasink<br>
          <br>
          <br>
          And the codec is opencore-amr-0.1.2<br>
          Could any body help?<br>
          <br>
          --<br>
          View this message in context: <a moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/amr-wb-seek-problem-tp3206831p3206831.html"
            target="_blank">http://gstreamer-devel.966125.n4.nabble.com/amr-wb-seek-problem-tp3206831p3206831.html</a><br>
          Sent from the GStreamer-devel mailing list archive at
          Nabble.com.<br>
          <br>
------------------------------------------------------------------------------<br>
          Gaining the trust of online customers is vital for the success
          of any company<br>
          that requires sensitive data to be transmitted over the Web. &nbsp;
          Learn how to<br>
          best implement a security strategy that keeps consumers'
          information secure<br>
          and instills the confidence they need to proceed with
          transactions.<br>
          <a moz-do-not-send="true"
            href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
          _______________________________________________<br>
          gstreamer-devel mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
          <a moz-do-not-send="true"
            href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
            target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Regards,<br>
      <br>
      Sudarshan Bisht<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/oracle-sfdevnl">http://p.sf.net/sfu/oracle-sfdevnl</a> </pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  <pre>
=====================================================================================================================================
This email and any attachments to it contain confidential information and are intended solely for the use of the individual to whom it 
is addressed.If you are not the intended recipient or receive it accidentally, please immediately notify the sender by e-mail and delete 
the message and any attachments from your computer system, and destroy all hard copies. If any, please be advised that any unauthorized 
disclosure, copying, distribution or any action taken or omitted in reliance on this, is illegal and prohibited. Furthermore, any views 
or opinions expressed are solely those of the author and do not represent those of ASUSTeK. Thank you for your cooperation.
=====================================================================================================================================
</pre></body>
</html>