mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Turn some g_prints into g_warnings as that's what they really are
Original commit message from CVS: Turn some g_prints into g_warnings as that's what they really are
This commit is contained in:
parent
3044995848
commit
1975b199d2
2 changed files with 5 additions and 5 deletions
|
@ -605,17 +605,17 @@ cothread_switch (cothread_state * thread)
|
||||||
|
|
||||||
#ifdef COTHREAD_PARANOID
|
#ifdef COTHREAD_PARANOID
|
||||||
nothread:
|
nothread:
|
||||||
g_print ("cothread: can't switch to NULL cothread!\n");
|
g_warning ("cothread: can't switch to NULL cothread!\n");
|
||||||
return;
|
return;
|
||||||
nocontext:
|
nocontext:
|
||||||
g_print ("cothread: there's no context, help!\n");
|
g_warning ("cothread: there's no context, help!\n");
|
||||||
exit (2);
|
exit (2);
|
||||||
nocurrent:
|
nocurrent:
|
||||||
g_print ("cothread: there's no current thread, help!\n");
|
g_warning ("cothread: there's no current thread, help!\n");
|
||||||
exit (2);
|
exit (2);
|
||||||
#endif /* COTHREAD_PARANOID */
|
#endif /* COTHREAD_PARANOID */
|
||||||
selfswitch:
|
selfswitch:
|
||||||
g_print ("cothread: trying to switch to same thread, legal but not necessary\n");
|
g_warning ("cothread: trying to switch to same thread, legal but not necessary\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -667,7 +667,7 @@ gst_props_set (GstProps *props, const gchar *name, ...)
|
||||||
va_end (var_args);
|
va_end (var_args);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
g_print("gstprops: no property '%s' to change\n", name);
|
g_warning ("gstprops: no property '%s' to change\n", name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return props;
|
return props;
|
||||||
|
|
Loading…
Reference in a new issue