examples/app/: Fix example to unref after emiting the push-buffer action.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 15 Dec 2008 12:02:26 +0000 (12:02 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 15 Dec 2008 12:02:26 +0000 (12:02 +0000)
commit16aa82d6e7f18ffef6087186d88ee97773b6e703
tree048475654004f098c94d61ec1155200b01b02bc2
parentb26ad06d3477844fd1c3d71511d0f12bc0226b3b
examples/app/: Fix example to unref after emiting the push-buffer action.

Original commit message from CVS:
* examples/app/appsrc-ra.c: (feed_data):
* examples/app/appsrc-seekable.c: (feed_data):
* examples/app/appsrc-stream.c: (read_data):
* examples/app/appsrc-stream2.c: (feed_data):
Fix example to unref after emiting the push-buffer action.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_push_buffer_full), (gst_app_src_push_buffer),
(gst_app_src_push_buffer_action):
Don't take the ref on the buffer in push-buffer action because it's too
awkward for bindings. Fixes #564482.
ChangeLog
common
examples/app/appsrc-ra.c
examples/app/appsrc-seekable.c
examples/app/appsrc-stream.c
examples/app/appsrc-stream2.c
gst-libs/gst/app/gstappsrc.c