mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should be handled by the application and not always pri...
Original commit message from CVS: make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should be handled by the application and not always printed as well
This commit is contained in:
parent
088fed6d36
commit
feb446c5d4
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstelement.h:
|
||||||
|
make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
|
||||||
|
be handled by the application and not always printed as well
|
||||||
|
|
||||||
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* check/Makefile.am:
|
* check/Makefile.am:
|
||||||
|
|
|
@ -128,9 +128,9 @@ G_STMT_START { \
|
||||||
gchar *__txt = _gst_element_error_printf text; \
|
gchar *__txt = _gst_element_error_printf text; \
|
||||||
gchar *__dbg = _gst_element_error_printf debug; \
|
gchar *__dbg = _gst_element_error_printf debug; \
|
||||||
if (__txt) \
|
if (__txt) \
|
||||||
GST_ERROR_OBJECT (el, "%s", __txt); \
|
GST_WARNING_OBJECT (el, "error: %s", __txt); \
|
||||||
if (__dbg) \
|
if (__dbg) \
|
||||||
GST_ERROR_OBJECT (el, "%s", __dbg); \
|
GST_WARNING_OBJECT (el, "error: %s", __dbg); \
|
||||||
gst_element_message_full (GST_ELEMENT(el), GST_MESSAGE_ERROR, \
|
gst_element_message_full (GST_ELEMENT(el), GST_MESSAGE_ERROR, \
|
||||||
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
|
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
|
||||||
__txt, __dbg, __FILE__, GST_FUNCTION, __LINE__); \
|
__txt, __dbg, __FILE__, GST_FUNCTION, __LINE__); \
|
||||||
|
@ -142,9 +142,9 @@ G_STMT_START { \
|
||||||
gchar *__txt = _gst_element_error_printf text; \
|
gchar *__txt = _gst_element_error_printf text; \
|
||||||
gchar *__dbg = _gst_element_error_printf debug; \
|
gchar *__dbg = _gst_element_error_printf debug; \
|
||||||
if (__txt) \
|
if (__txt) \
|
||||||
GST_WARNING_OBJECT (el, "%s", __txt); \
|
GST_WARNING_OBJECT (el, "warning: %s", __txt); \
|
||||||
if (__dbg) \
|
if (__dbg) \
|
||||||
GST_WARNING_OBJECT (el, "%s", __dbg); \
|
GST_WARNING_OBJECT (el, "warning: %s", __dbg); \
|
||||||
gst_element_message_full (GST_ELEMENT(el), GST_MESSAGE_WARNING, \
|
gst_element_message_full (GST_ELEMENT(el), GST_MESSAGE_WARNING, \
|
||||||
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
|
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
|
||||||
__txt, __dbg, __FILE__, GST_FUNCTION, __LINE__); \
|
__txt, __dbg, __FILE__, GST_FUNCTION, __LINE__); \
|
||||||
|
|
Loading…
Reference in a new issue