mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
libs/gst/check/gstcheck.c: Intercept criticals and warnings in the Gst-Phonon log domain, so
Original commit message from CVS: * libs/gst/check/gstcheck.c: (gst_check_init): Intercept criticals and warnings in the Gst-Phonon log domain, so ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as well.
This commit is contained in:
parent
032bd4cbd8
commit
b896ba8452
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* libs/gst/check/gstcheck.c: (gst_check_init):
|
||||
Intercept criticals and warnings in the Gst-Phonon log domain, so
|
||||
ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
|
||||
well.
|
||||
|
||||
2007-06-14 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstparamspecs.c: (_gst_param_fraction_validate):
|
||||
|
|
|
@ -95,6 +95,8 @@ gst_check_init (int *argc, char **argv[])
|
|||
gst_check_log_critical_func, NULL);
|
||||
g_log_set_handler ("GLib-GObject", G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING,
|
||||
gst_check_log_critical_func, NULL);
|
||||
g_log_set_handler ("Gst-Phonon", G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING,
|
||||
gst_check_log_critical_func, NULL);
|
||||
|
||||
check_cond = g_cond_new ();
|
||||
check_mutex = g_mutex_new ();
|
||||
|
|
Loading…
Reference in a new issue