After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747545 - opusenc: 'G_VALUE_HOLDS_ENUM (value)' failed
opusenc: 'G_VALUE_HOLDS_ENUM (value)' failed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-09 06:34 UTC by Ilya Konstantinov
Modified: 2015-04-09 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ilya Konstantinov 2015-04-09 06:34:00 UTC
This fallthrough is poisonous:

    case PROP_CONSTRAINED_VBR:
      g_warning
          ("constrained-vbr property is deprecated; use bitrate-type instead");
      g_value_set_boolean (value,
          enc->bitrate_type == BITRATE_TYPE_CONSTRAINED_VBR);
      /* fall through */
    case PROP_BITRATE_TYPE:
      g_value_set_enum (value, enc->bitrate_type);
      break;

Results in GLib-GObject-CRITICAL **: g_value_set_enum: assertion 'G_VALUE_HOLDS_ENUM (value)' failed when querying for PROP_CONSTRAINED_VBR (e.g. by gst-inspect or gst_debug_bin_to_dot_data).
Comment 1 Vincent Penquerc'h 2015-04-09 10:40:55 UTC
Arun fixed it already.