amc: Do not use g_log() for criticals
This commit is contained in:
parent
06fc7880bb
commit
9ab76c73ea
@ -90,8 +90,8 @@ gst_amc_surface_class_init (GstAmcSurfaceClass * klass)
|
||||
gobject_class->dispose = gst_amc_surface_dispose;
|
||||
|
||||
if (!_cache_java_class (klass, &err)) {
|
||||
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
|
||||
"Could not cache java class android/view/Surface: %s", err->message);
|
||||
GST_ERROR ("Could not cache java class android/view/Surface: %s",
|
||||
err->message);
|
||||
g_clear_error (&err);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user