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 621896 - [API][taglist] Add gst_tag_list_peek_string_index
[API][taglist] Add gst_tag_list_peek_string_index
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal enhancement
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-17 14:48 UTC by Thiago Sousa Santos
Modified: 2010-06-18 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
taglist: add gst_tag_list_peek_string_index to avoid a copy (3.80 KB, patch)
2010-06-17 14:49 UTC, Thiago Sousa Santos
none Details | Review

Description Thiago Sousa Santos 2010-06-17 14:48:42 UTC
Adds a variation of the gst_tag_list_get_string_index that doesn't copy the string.
Comment 1 Thiago Sousa Santos 2010-06-17 14:49:41 UTC
Created attachment 163924 [details] [review]
taglist: add gst_tag_list_peek_string_index to avoid a copy

Adds a variation of the _get_string_index function that doesn't copy
the string.

API: gst_tag_list_peek_string_index
Comment 2 Sebastian Dröge (slomo) 2010-06-18 04:17:17 UTC
Sounds like a good idea :) Patch looks good but there's a typo in the docs (calle instead of caller).
Comment 3 Thiago Sousa Santos 2010-06-18 17:50:16 UTC
Pushed.

Module: gstreamer
Branch: master
Commit: 9ee11a2af41ec6f37bbf37e7990d129c357fb809
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=9ee11a2af41ec6f37bbf37e7990d129c357fb809

Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk>
Date:   Thu Jun 17 11:39:04 2010 -0300

taglist: add gst_tag_list_peek_string_index to avoid a copy

Adds a variation of the _get_string_index function that doesn't copy
the string.

API: gst_tag_list_peek_string_index

https://bugzilla.gnome.org/show_bug.cgi?id=621896