After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740273 - tests: add unit test to show how a custom buffer pool can insert memory in a buffer
tests: add unit test to show how a custom buffer pool can insert memory in a ...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.4.3
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-17 16:46 UTC by Benjamin Gaignard
Modified: 2018-11-03 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
custom buffer pool unitary test (11.78 KB, patch)
2014-11-17 16:46 UTC, Benjamin Gaignard
needs-work Details | Review

Description Benjamin Gaignard 2014-11-17 16:46:59 UTC
Created attachment 290866 [details] [review]
custom buffer pool unitary test

This unitary test perform the same check than gstbufferpool test but use a custom pool allocation function to add memory in a new buffer.

Nothing revolutionary here but it could be an example of how manage memory insertion in custom buffer pool.
Comment 1 Tim-Philipp Müller 2017-12-09 16:17:00 UTC
Doesn't pass any longer it seems:

Running suite(s): GstBufferPool
0:00:00.007845678 25053 0x55fa491b4e40 ERROR             bufferpool gstbufferpool.c:558:gst_buffer_pool_set_active:<bufferpool0> pool was not configured
77%: Checks: 9, Failures: 2, Errors: 0
gst/gstcustombufferpool.c:267:F:buffer_pool tests:test_pool_activation_and_config:0: Assertion 'gst_buffer_pool_set_config (pool, config)' failed
gst/gstcustombufferpool.c:301:F:buffer_pool tests:test_pool_config_validate:0: Failure 'gst_buffer_pool_config_validate_params (config, caps, 4, 4, 0)' occurred
Comment 2 GStreamer system administrator 2018-11-03 12:24:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/83.