Fix GstPlayer error logging

This commit is contained in:
Rafostar
2020-10-16 17:03:51 +02:00
parent 8297be45ba
commit 1119e3e792

View File

@@ -5,7 +5,7 @@ function debug(msg, levelName)
{
levelName = levelName || 'LEVEL_DEBUG';
if(msg instanceof Error) {
if(msg.message) {
levelName = 'LEVEL_CRITICAL';
msg = msg.message;
}