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.
This commit is contained in:
Wim Taymans 2008-04-08 19:39:28 +00:00
parent dd9009b8ca
commit 9c5a343605
3 changed files with 31 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/gstquark.c: (_priv_gst_quarks_initialize):
* gst/gstquark.h:
Add some more quarks needed for messages and queries.
2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk> 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/design/part-buffering.txt: * docs/design/part-buffering.txt:

View file

@ -29,7 +29,12 @@ static const gchar *_quark_strings[] = {
"format", "current", "duration", "rate", "format", "current", "duration", "rate",
"seekable", "segment-start", "segment-end", "seekable", "segment-start", "segment-end",
"src_format", "src_value", "dest_format", "dest_value", "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]; GQuark _priv_gst_quark_table[GST_QUARK_MAX];

View file

@ -41,8 +41,26 @@ typedef enum _GstQuarkId
GST_QUARK_START_VALUE = 12, GST_QUARK_START_VALUE = 12,
GST_QUARK_STOP_FORMAT = 13, GST_QUARK_STOP_FORMAT = 13,
GST_QUARK_STOP_VALUE = 14, 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; } GstQuarkId;
extern GQuark _priv_gst_quark_table[GST_QUARK_MAX]; extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];