<div>
Hi Tim,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Thanks for your reply, i must be sorry…i make a mistake :(</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>There are two pipe line in my projects and the other one which i do not care</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>use the "appsrc" to push data also,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>the "max-bytes" setting of my pipeline is right, sorry for my mistake again.</div>
<div><div><br></div><div>Thanks,</div><div><br></div><div>- Jojo</div><div><br></div></div>
<p style="color: #A0A0A8;">在 2014年6月9日星期一,下午7:56,Tim Müller 写道:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>On Mon, 2014-06-09 at 11:11 +0800, jojo wrote:</div><div><br></div><div>Hi,</div><div><br></div><blockquote type="cite"><div><div>Gstreamer version is gstreamer-1.0-android-arm-1.2.3</div><div><br></div><div><br></div><div>i launched pipeline command as "playbin uri=appsrc://" and set</div><div>pipeline status to GST_STATE_READY</div><div><br></div><div><br></div><div>in the signal "source-setup", i set "max-bytes" looks like as</div><div>following:</div><div><br></div><div><br></div><div>gst_src = gst_object_ref (source);</div><div>gst_app_src_set_max_bytes((GstAppSrc *)gst_src, 0);</div><div><br></div><div><br></div><div>but when i am using the API gst_app_src_push_buffer((GstAppSrc</div><div>*)gst_src, buffer), the max bytes property still is default</div><div>value(200000).</div><div><br></div><div><br></div><div>i print log as : (snip)</div></div></blockquote><div><br></div><div>Do you see a log message like "gst_app_src_set_max_bytes: ... setting</div><div>max-bytes to 0" ? If not, that would suggest, that that code path was</div><div>not reached, and the only explanation for that would be that the gst_src</div><div>pointer you pass to gst_app_src_set_max_bytes() is not actually a</div><div>GstAppSrc. Maybe your callback function signature isn't quite right -</div><div>could you post your whole source-setup callback function?</div><div><br></div><div> Cheers</div><div> -Tim</div><div><br></div><div>-- </div><div>Tim Müller, Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a></div><div><br></div><div>_______________________________________________</div><div>gstreamer-devel mailing list</div><div><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></div><div><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>