androidmedia: Failing to detach a thread is not that much of a problem
authorSebastian Dröge <sebastian@centricular.com>
Thu, 18 Jun 2015 12:29:33 +0000 (14:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 18 Jun 2015 12:29:33 +0000 (14:29 +0200)
Someone else might have detached it before us, so make this just normal debug
output instead of a GST_ERROR()

sys/androidmedia/gstjniutils.c

index c842db1..1583e14 100644 (file)
@@ -488,7 +488,7 @@ gst_amc_jni_detach_current_thread (void *env)
 
   GST_DEBUG ("Detaching thread %p", g_thread_self ());
   if ((ret = (*java_vm)->DetachCurrentThread (java_vm)) != JNI_OK) {
-    GST_ERROR ("Failed to detach current thread: %d", ret);
+    GST_DEBUG ("Failed to detach current thread: %d", ret);
   }
 }