From 738cf12d9646c6365d29aa4187e3b23f3a7c26c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 6 Jun 2012 14:14:31 +0200 Subject: [PATCH] event: Don't make the TOC event a multi-sticky event Elements are supposed to merge upstream events. --- gst/gstevent.c | 2 +- gst/gstevent.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstevent.c b/gst/gstevent.c index 63e4e9256a..3ba388a8b7 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -1646,7 +1646,7 @@ gst_event_new_stream_start (void) * Since: 0.10.37 */ GstEvent * -gst_event_new_toc (const gchar * name, GstToc * toc, gboolean updated) +gst_event_new_toc (GstToc * toc, gboolean updated) { GstStructure *toc_struct; diff --git a/gst/gstevent.h b/gst/gstevent.h index 0c744a7156..35ebba81f4 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -152,7 +152,7 @@ typedef enum { GST_EVENT_BUFFERSIZE = GST_EVENT_MAKE_TYPE (90, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY)), GST_EVENT_SINK_MESSAGE = GST_EVENT_MAKE_TYPE (100, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | FLAG(STICKY_MULTI)), GST_EVENT_EOS = GST_EVENT_MAKE_TYPE (110, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY)), - GST_EVENT_TOC = GST_EVENT_MAKE_TYPE (120, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | FLAG(STICKY_MULTI)), + GST_EVENT_TOC = GST_EVENT_MAKE_TYPE (120, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY)), /* non-sticky downstream serialized */ GST_EVENT_SEGMENT_DONE = GST_EVENT_MAKE_TYPE (150, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), @@ -527,7 +527,7 @@ GstEvent* gst_event_new_tag (const gchar *name, GstTagList * void gst_event_parse_tag (GstEvent *event, GstTagList **taglist); /* TOC event */ -GstEvent* gst_event_new_toc (const gchar *name, GstToc *toc, gboolean updated); +GstEvent* gst_event_new_toc (GstToc *toc, gboolean updated); void gst_event_parse_toc (GstEvent *event, GstToc **toc, gboolean *updated);