summaryrefslogtreecommitdiff
path: root/ext/ogg/gstogmparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ogg/gstogmparse.c')
-rw-r--r--ext/ogg/gstogmparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ogg/gstogmparse.c b/ext/ogg/gstogmparse.c
index 6790937f7..cdfe06e50 100644
--- a/ext/ogg/gstogmparse.c
+++ b/ext/ogg/gstogmparse.c
@@ -657,7 +657,7 @@ gst_ogm_parse_stream_header (GstOgmParse * ogm, const guint8 * data, guint size)
GstTagList *tags;
tags = gst_tag_list_new (GST_TAG_SUBTITLE_CODEC, "Ogm", NULL);
- gst_pad_push_event (ogm->srcpad, gst_event_new_tag (tags));
+ gst_pad_push_event (ogm->srcpad, gst_event_tag_new (tags));
}
}
@@ -699,7 +699,7 @@ gst_ogm_parse_comment_packet (GstOgmParse * ogm, GstBuffer * buf)
if (tags) {
GST_DEBUG_OBJECT (ogm, "tags = %" GST_PTR_FORMAT, tags);
- gst_pad_push_event (ogm->srcpad, gst_event_new_tag (tags));
+ gst_pad_push_event (ogm->srcpad, gst_event_tag_new (tags));
} else {
GST_DEBUG_OBJECT (ogm, "failed to extract tags from vorbis comment");
}