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 787063 - [API] bufferlist: add gst_buffer_list_get_writable() and _calculate_size()
[API] bufferlist: add gst_buffer_list_get_writable() and _calculate_size()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-31 08:56 UTC by Tim-Philipp Müller
Modified: 2017-09-17 11:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bufferlist: add gst_buffer_list_get_writable() (5.14 KB, patch)
2017-08-31 08:56 UTC, Tim-Philipp Müller
committed Details | Review

Description Tim-Philipp Müller 2017-08-31 08:56:03 UTC
Created attachment 358827 [details] [review]
bufferlist: add gst_buffer_list_get_writable()

Ensures buffer is writable. Useful if we want to change metadata on it such as timestamps, but didn't create the list ourselves so can't be sure about the buffer.
Comment 1 Tim-Philipp Müller 2017-09-17 11:38:23 UTC
commit c2917b1ae2fc4956b7ef5a0ca49e32ebea899240
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Thu Aug 31 13:05:57 2017 +0100

    plugins: use new gst_buffer_list_calculate_size()

commit 8f26af8b0251ea90f78c47732a6c3100a058ac51
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Thu Aug 31 12:54:55 2017 +0100

    bufferlist: add gst_buffer_list_calculate_size()
    
    Returns size in bytes.

commit 177c4ffe6a82877c4e50af81f20633a42c270771
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Wed Aug 30 13:50:33 2017 +0100

    bufferlist: add gst_buffer_list_get_writable()
    
    Ensures buffer is writable. Useful if we want to change
    metadata on it such as timestamps.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750241