<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <blockquote type="cite"><span><span><span
            style="white-space:pre-wrap"></span>g_signal_connect
          (appsink, "new-sample", G_CALLBACK (cb_new_buffer), data);</span></span></blockquote>
    Does your cb_new_buffer return GST_FLOW_OK?<br>
  </body>
</html>