gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable serie...
authorAndy Wingo <wingo@pobox.com>
Mon, 21 Nov 2005 13:03:36 +0000 (13:03 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 21 Nov 2005 13:03:36 +0000 (13:03 +0000)
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* 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.

ChangeLog
check/gst/gstevent.c
gst/gstevent.c
gst/gstevent.h
tests/check/gst/gstevent.c

index b60e1ce..03b1aa4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-21  Andy Wingo  <wingo@pobox.com>
+
+       * 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  <tim at centricular dot net>
 
        * gst/gstvalue.c: (gst_value_is_fixed):
index 018faab..2604658 100644 (file)
@@ -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 */
   {
index 17f9a91..e7779ce 100644 (file)
@@ -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:
index 368e273..d37970c 100644 (file)
@@ -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);
index 018faab..2604658 100644 (file)
@@ -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 */
   {