mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
fix color for NULL from bright white to blue
Original commit message from CVS: fix color for NULL from bright white to blue
This commit is contained in:
parent
61a4a6389f
commit
c349a582b4
1 changed files with 2 additions and 2 deletions
|
@ -2861,13 +2861,13 @@ gst_element_state_get_name (GstElementState state)
|
||||||
switch (state) {
|
switch (state) {
|
||||||
#ifdef GST_DEBUG_COLOR
|
#ifdef GST_DEBUG_COLOR
|
||||||
case GST_STATE_VOID_PENDING: return "NONE_PENDING";break;
|
case GST_STATE_VOID_PENDING: return "NONE_PENDING";break;
|
||||||
case GST_STATE_NULL: return "\033[01;37mNULL\033[00m";break;
|
case GST_STATE_NULL: return "\033[01;34mNULL\033[00m";break;
|
||||||
case GST_STATE_READY: return "\033[01;31mREADY\033[00m";break;
|
case GST_STATE_READY: return "\033[01;31mREADY\033[00m";break;
|
||||||
case GST_STATE_PLAYING: return "\033[01;32mPLAYING\033[00m";break;
|
case GST_STATE_PLAYING: return "\033[01;32mPLAYING\033[00m";break;
|
||||||
case GST_STATE_PAUSED: return "\033[01;33mPAUSED\033[00m";break;
|
case GST_STATE_PAUSED: return "\033[01;33mPAUSED\033[00m";break;
|
||||||
default:
|
default:
|
||||||
/* This is a memory leak */
|
/* This is a memory leak */
|
||||||
return g_strdup_printf ("\033[01;37;41mUNKNOWN!\033[00m(%d)", state);
|
return g_strdup_printf ("\033[01;35;41mUNKNOWN!\033[00m(%d)", state);
|
||||||
#else
|
#else
|
||||||
case GST_STATE_VOID_PENDING: return "NONE_PENDING";break;
|
case GST_STATE_VOID_PENDING: return "NONE_PENDING";break;
|
||||||
case GST_STATE_NULL: return "NULL";break;
|
case GST_STATE_NULL: return "NULL";break;
|
||||||
|
|
Loading…
Reference in a new issue