<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">How are you getting the sample? Is it
      possible that you're accidentally blocking the pipeline?I think
      you're supposed to use "pull-sample" to get the new sample, but if
      you call "pull-sample" where there is no sample, it will block,
      and depending on how you're running your pipeline, that could
      block everything. That's just a guess though, since you're not
      showing very much of your code.<br>
      <br>
      On 08/24/2013 05:18 AM, jojo wrote:<br>
    </div>
    <blockquote cite="mid:8AEE80944EDF42C1B293869B974C21E5@gmail.com"
      type="cite">
      <div> Hi, </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>i
        use the simplest pipe line again as bellow:</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>pipe
        = gst_parse_launch("appsrc is-live=1 do-timestamp=1
        caps=\"image/jpeg, width=1920, height=1080\" name=\"appsrc\" !
        appsink name=\"appsink\"");</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>it
        can get the first 1 "sample" just only.</div>
      <div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>- Jojo</div>
        <div><br>
        </div>
      </div>
      <p style="color: #A0A0A8;">在 2013年8月24日星期六,下午5:17,jojo 写道:</p>
      <blockquote type="cite"
style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
        <span>
          <div>
            <div>
              <div>Hi, </div>
              <div><span style="white-space:pre"> </span>My pipeline is
                :</div>
              <div><br>
              </div>
              <div><span style="white-space:pre"> </span>pipe
                = gst_parse_launch("appsrc is-live=1 do-timestamp=1
                caps=image/jpeg, width=1920, height=1080 name=\"appsrc\"
                ! decodebin ! queue !  videoconvert ! appsink
                caps=\"%s\" name=\"appsink\",
                GST_VIDEO_CAPS_MAKE("BGRx")).</div>
              <div><br>
              </div>
              <div><span style="white-space:pre"> </span>g_signal_connect
                (appsink, "new-sample", G_CALLBACK (cb_new_buffer),
                data);</div>
              <div><br>
              </div>
              <div><span style="white-space:pre"> </span>in the
                gstreamer v0.10, the callback is triggered if there are
                new buffer, but i can not get new data from this
                callback in the version 1.0.9,</div>
              <div><br>
              </div>
              <div><span style="white-space:pre"> </span>some of my
                parameters of "gst_parse_launch" are wrong ?</div>
              <div><br>
              </div>
              <div><span style="white-space:pre"> </span>Any hins will
                be helpful.</div>
              <div>
                <div><br>
                </div>
                <div>Thanks,</div>
                <div><br>
                </div>
                <div>- Jojo</div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </span> </blockquote>
      <div> <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>