Can not setting "max-bytes" property on "appsrc" element

jojo rjiejie at gmail.com
Sun Jun 8 20:11:21 PDT 2014


Hi,

Gstreamer version is gstreamer-1.0-android-arm-1.2.3

i launched pipeline command as "playbin uri=appsrc://" and set pipeline status to GST_STATE_READY

in the signal "source-setup", i set "max-bytes" looks like as following:

gst_src = gst_object_ref (source);
gst_app_src_set_max_bytes((GstAppSrc *)gst_src, 0);

but when i am using the API gst_app_src_push_buffer((GstAppSrc *)gst_src, buffer), the max bytes property still is default value(200000).

i print log as :

06-08 17:11:20.738: D/GStreamer+appsrc(21116): 0:00:31.846455954 0x5c701800 gstappsrc.c:1052:gst_app_src_create:<appsrc> we have buffer 0x5ca9eda0 of size 1024
06-08 17:11:20.738: D/GStreamer+appsrc(21116): 0:00:31.846660568 0x5c701800 gstappsrc.c:1052:gst_app_src_create:<appsrc> we have buffer 0x5ca9ee40 of size 1024

06-08 17:11:20.738: D/GStreamer+appsrc(21116): 0:00:31.847277181 0x582c49a0 gstappsrc.c:1502:gst_app_src_push_buffer_full:<appsrc> queue filled (415744 >= 200000)
06-08 17:11:20.738: D/GStreamer+appsrc(21116): 0:00:31.847610872 0x582c49a0 gstappsrc.c:1502:gst_app_src_push_buffer_full:<appsrc> queue filled (415744 >= 200000)


What's wrong about for my processing ?

Any hins will be appreciated.

Thanks,

- Jojo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140609/60a3c31b/attachment.html>


More information about the gstreamer-devel mailing list