diff --git a/ChangeLog b/ChangeLog index 9e89409342..cb576ca853 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,12 @@ +2006-04-28 Edward Hervey + + * gst/gstmodule.c: (init_gst): + Wrap the gstreamer error domains quark. + Fixes #339040 + 2006-04-19 Andy Wingo - * gst/gstpad.override (pad_block_callback_marshal) + * gst/gstpad.override: (pad_block_callback_marshal) (_wrap_gst_pad_set_blocked_async): Fix refcounting problems and indent. Fixes #338982 diff --git a/gst/gstmodule.c b/gst/gstmodule.c index 13e025e745..adc7f98ae9 100644 --- a/gst/gstmodule.c +++ b/gst/gstmodule.c @@ -236,6 +236,11 @@ init_gst (void) PyModule_AddStringConstant (m, "TAG_ALBUM_PEAK", GST_TAG_ALBUM_PEAK); PyModule_AddStringConstant (m, "TAG_LANGUAGE_CODE", GST_TAG_LANGUAGE_CODE); + PyModule_AddStringConstant (m, "LIBRARY_ERROR", (gchar *) g_quark_to_string(GST_LIBRARY_ERROR)); + PyModule_AddStringConstant (m, "RESOURCE_ERROR",(gchar *) g_quark_to_string(GST_RESOURCE_ERROR)); + PyModule_AddStringConstant (m, "CORE_ERROR", (gchar *) g_quark_to_string(GST_CORE_ERROR)); + PyModule_AddStringConstant (m, "STREAM_ERROR", (gchar *) g_quark_to_string(GST_STREAM_ERROR)); + g_timeout_add_full (0, 100, python_do_pending_calls, NULL, NULL); atexit(gst_deinit);