summaryrefslogtreecommitdiff
path: root/gst/id3tag
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-02-26 13:39:01 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-02-28 12:06:57 +0100
commitcbb7fa570142d9e0dffcc45c1cb781fad49f9060 (patch)
treece4912f956a4bc08be0592f30a79d5e0ed6c73ff /gst/id3tag
parent2eb38991c6d67e47ef90246b2561588cf4b5f390 (diff)
downloadgstreamer-plugins-bad-cbb7fa570142d9e0dffcc45c1cb781fad49f9060.tar.gz
miniobject: port to new 0.11 API
Remove miniobject and buffer subclassesusing GObject subclasses and metadata.
Diffstat (limited to 'gst/id3tag')
-rw-r--r--gst/id3tag/id3tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c
index 2f3bebf84..9645dd329 100644
--- a/gst/id3tag/id3tag.c
+++ b/gst/id3tag/id3tag.c
@@ -483,7 +483,7 @@ add_id3v2frame_tag (GstId3v2Tag * id3v2tag, const GstTagList * list,
GstBuffer *buf;
val = gst_tag_list_get_value_index (list, tag, i);
- buf = (GstBuffer *) gst_value_get_mini_object (val);
+ buf = gst_value_get_buffer (val);
if (buf && GST_BUFFER_CAPS (buf)) {
GstStructure *s;
@@ -693,7 +693,7 @@ add_image_tag (GstId3v2Tag * id3v2tag, const GstTagList * list,
GST_DEBUG ("image %u/%u", n + 1, num_tags);
val = gst_tag_list_get_value_index (list, tag, n);
- image = (GstBuffer *) gst_value_get_mini_object (val);
+ image = gst_value_get_buffer (val);
if (GST_IS_BUFFER (image) && GST_BUFFER_SIZE (image) > 0 &&
GST_BUFFER_CAPS (image) != NULL &&