From 9c5a3436058349486efead25f57fab1a7cdc332e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 8 Apr 2008 19:39:28 +0000 Subject: [PATCH] gst/gstquark.*: Add some more quarks needed for messages and queries. Original commit message from CVS: * gst/gstquark.c: (_priv_gst_quarks_initialize): * gst/gstquark.h: Add some more quarks needed for messages and queries. --- ChangeLog | 6 ++++++ gst/gstquark.c | 7 ++++++- gst/gstquark.h | 20 +++++++++++++++++++- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ce3298ee28..1a05fbf266 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-04-08 Wim Taymans + + * gst/gstquark.c: (_priv_gst_quarks_initialize): + * gst/gstquark.h: + Add some more quarks needed for messages and queries. + 2008-04-08 Wim Taymans * docs/design/part-buffering.txt: diff --git a/gst/gstquark.c b/gst/gstquark.c index 91f486d67f..0b1789667d 100644 --- a/gst/gstquark.c +++ b/gst/gstquark.c @@ -29,7 +29,12 @@ static const gchar *_quark_strings[] = { "format", "current", "duration", "rate", "seekable", "segment-start", "segment-end", "src_format", "src_value", "dest_format", "dest_value", - "start_format", "start_value", "stop_format", "stop_value" + "start_format", "start_value", "stop_format", "stop_value", + "gerror", "debug", "buffer-percent", "buffering-mode", + "avg-in-rate", "avg-out-rate", "buffering-left", + "estimated-total", "old-state", "new-state", "pending-state", + "clock", "ready", "position", "new-base-time", "live", "min-latency", + "max-latency" }; GQuark _priv_gst_quark_table[GST_QUARK_MAX]; diff --git a/gst/gstquark.h b/gst/gstquark.h index ef6125988b..c9f386f3e8 100644 --- a/gst/gstquark.h +++ b/gst/gstquark.h @@ -41,8 +41,26 @@ typedef enum _GstQuarkId GST_QUARK_START_VALUE = 12, GST_QUARK_STOP_FORMAT = 13, GST_QUARK_STOP_VALUE = 14, + GST_QUARK_GERROR = 15, + GST_QUARK_DEBUG = 16, + GST_QUARK_BUFFER_PERCENT = 17, + GST_QUARK_BUFFERING_MODE = 18, + GST_QUARK_AVG_IN_RATE = 19, + GST_QUARK_AVG_OUT_RATE = 20, + GST_QUARK_BUFFERING_LEFT = 21, + GST_QUARK_ESTIMATED_TOTAL = 22, + GST_QUARK_OLD_STATE = 23, + GST_QUARK_NEW_STATE = 24, + GST_QUARK_PENDING_STATE = 25, + GST_QUARK_CLOCK = 26, + GST_QUARK_READY = 27, + GST_QUARK_POSITION = 28, + GST_QUARK_NEW_BASE_TIME = 29, + GST_QUARK_LIVE = 30, + GST_QUARK_MIN_LATENCY = 31, + GST_QUARK_MAX_LATENCY = 32, - GST_QUARK_MAX = 15 + GST_QUARK_MAX = 33 } GstQuarkId; extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];