From: Andy Wingo Date: Mon, 21 Nov 2005 13:03:36 +0000 (+0000) Subject: gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable serie... X-Git-Tag: RELEASE-0_9_6~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4b8378ba49c2e6f3741df94d75352dc0b418d8c;p=platform%2Fupstream%2Fgstreamer.git gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable series if we need it. Fixes #319178. Original commit message from CVS: 2005-11-21 Andy Wingo * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable series if we need it. Fixes #319178. * gst/gstevent.c (gst_event_new_filler): Removed. * check/gst/gstevent.c: Update comment about filler events. --- diff --git a/ChangeLog b/ChangeLog index b60e1ce..03b1aa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-11-21 Andy Wingo + + * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back + during the stable series if we need it. Fixes #319178. + + * gst/gstevent.c (gst_event_new_filler): Removed. + + * check/gst/gstevent.c: Update comment about filler events. + 2005-11-21 Tim-Philipp Müller * gst/gstvalue.c: (gst_value_is_fixed): diff --git a/check/gst/gstevent.c b/check/gst/gstevent.c index 018faab..2604658 100644 --- a/check/gst/gstevent.c +++ b/check/gst/gstevent.c @@ -102,7 +102,7 @@ GST_START_TEST (create_custom_events) gst_event_unref (event); } - /* FIXME: Add tests for FILLERS and QOS when they are implemented. */ + /* FIXME: Add tests for QOS when it is implemented. */ /* SEEK */ { diff --git a/gst/gstevent.c b/gst/gstevent.c index 17f9a91..e7779ce 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -102,7 +102,6 @@ static GstEventQuarks event_quarks[] = { {GST_EVENT_EOS, "eos", 0}, {GST_EVENT_NEWSEGMENT, "newsegment", 0}, {GST_EVENT_TAG, "tag", 0}, - {GST_EVENT_FILLER, "filler", 0}, {GST_EVENT_BUFFERSIZE, "buffersize", 0}, {GST_EVENT_QOS, "qos", 0}, {GST_EVENT_SEEK, "seek", 0}, @@ -541,20 +540,6 @@ gst_event_parse_tag (GstEvent * event, GstTagList ** taglist) *taglist = (GstTagList *) event->structure; } -/* filler event */ -/** - * gst_event_new_filler: - * - * Create a new dummy event that should be ignored. - * - * Returns: a new #GstEvent - */ -GstEvent * -gst_event_new_filler (void) -{ - return gst_event_new (GST_EVENT_FILLER); -} - /* buffersize event */ /** * gst_event_new_buffersize: diff --git a/gst/gstevent.h b/gst/gstevent.h index 368e273..d37970c 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -83,14 +83,13 @@ typedef enum { * without a NEWSEGMENT event. * @GST_EVENT_NEWSEGMENT: A new media segment follows in the dataflow. * @GST_EVENT_TAG: A new set of metadata tags has been found in the stream. - * @GST_EVENT_FILLER: Filler for sparse data streams. * @GST_EVENT_BUFFERSIZE: Notification of buffering requirements * @GST_EVENT_QOS: A quality message. Used to indicate to upstream elements * that the downstream elements are being starved of or * flooded with data. * @GST_EVENT_SEEK: A request for a new playback position and rate. * @GST_EVENT_NAVIGATION: Navigation events are usually used for communicating - user requests, such as mouse or keyboard movements, + * user requests, such as mouse or keyboard movements, * to upstream elements. * @GST_EVENT_CUSTOM_UPSTREAM: Upstream custom event * @GST_EVENT_CUSTOM_DOWNSTREAM: Downstream custom event that travels in the @@ -118,8 +117,7 @@ typedef enum { GST_EVENT_EOS = GST_EVENT_MAKE_TYPE (5, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), GST_EVENT_NEWSEGMENT = GST_EVENT_MAKE_TYPE (6, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), GST_EVENT_TAG = GST_EVENT_MAKE_TYPE (7, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), - GST_EVENT_FILLER = GST_EVENT_MAKE_TYPE (8, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), - GST_EVENT_BUFFERSIZE = GST_EVENT_MAKE_TYPE (9, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), + GST_EVENT_BUFFERSIZE = GST_EVENT_MAKE_TYPE (8, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)), /* upstream events */ GST_EVENT_QOS = GST_EVENT_MAKE_TYPE (15, FLAG(UPSTREAM)), GST_EVENT_SEEK = GST_EVENT_MAKE_TYPE (16, FLAG(UPSTREAM)), @@ -351,10 +349,6 @@ void gst_event_parse_newsegment (GstEvent *event, gboolean *update, gdouble *ra GstEvent* gst_event_new_tag (GstTagList *taglist); void gst_event_parse_tag (GstEvent *event, GstTagList **taglist); -/* filler event */ -/* FIXME: FILLER events need to be fully specified and implemented */ -GstEvent * gst_event_new_filler (void); - /* buffer */ GstEvent * gst_event_new_buffersize (GstFormat format, gint64 minsize, gint64 maxsize, gboolean async); diff --git a/tests/check/gst/gstevent.c b/tests/check/gst/gstevent.c index 018faab..2604658 100644 --- a/tests/check/gst/gstevent.c +++ b/tests/check/gst/gstevent.c @@ -102,7 +102,7 @@ GST_START_TEST (create_custom_events) gst_event_unref (event); } - /* FIXME: Add tests for FILLERS and QOS when they are implemented. */ + /* FIXME: Add tests for QOS when it is implemented. */ /* SEEK */ {