centricular / gstcefsrc

A simple gstreamer wrapper around Chromium Embedded Framework
83 stars 45 forks source link

Fix GLib critical warning about default enum value not found #87

Closed vivia closed 2 weeks ago

vivia commented 2 weeks ago

LOGSEVERITY_DEFAULT is defined as a different enum value as LOGSEVERITY_INFO, which it corresponds to, and set as equal later on internally. This cannot work when looking it up in the GEnumValue array. Easiest way around it is to manually set it to INFO.

MathieuDuponchelle commented 2 weeks ago

cc @amyspark