[gstreamermm] EventTag::parse should not take any string
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] EventTag::parse should not take any string
- Date: Thu, 10 Apr 2014 13:36:11 +0000 (UTC)
commit 1a95f3a2a96bfc32141677fcd69024c871cb48de
Author: Tomasz Lakota <tomasz lakota flytronic pl>
Date: Thu Mar 27 21:21:04 2014 +0100
EventTag::parse should not take any string
Conflicts:
gstreamer/gstreamermm/event.cc
gstreamer/gstreamermm/event.h
gstreamer/src/event.ccg | 4 ++--
gstreamer/src/event.hg | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gstreamer/src/event.ccg b/gstreamer/src/event.ccg
index c6fe46b..97ee3c7 100644
--- a/gstreamer/src/event.ccg
+++ b/gstreamer/src/event.ccg
@@ -106,9 +106,9 @@ Glib::RefPtr<Gst::EventTag> EventTag::create(const Gst::TagList& taglist)
return Glib::wrap_event_derived<EventTag>(event, false);
}
-Gst::TagList EventTag::parse(const Glib::ustring& name) const
+Gst::TagList EventTag::parse() const
{
- GstTagList* gst_taglist = gst_tag_list_new(name.c_str());
+ GstTagList* gst_taglist = gst_tag_list_new_empty();
gst_event_parse_tag(const_cast<GstEvent*>(gobj()), &gst_taglist);
return Gst::TagList(gst_taglist);
}
diff --git a/gstreamer/src/event.hg b/gstreamer/src/event.hg
index 6516a65..c388e61 100644
--- a/gstreamer/src/event.hg
+++ b/gstreamer/src/event.hg
@@ -310,7 +310,7 @@ public:
* @param name Tag name.
* @return Metadata list.
*/
- Gst::TagList parse(const Glib::ustring& name) const;
+ Gst::TagList parse() const;
_IGNORE(gst_event_parse_tag)
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]