gst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for core updates.
Original commit message from CVS: 2005-10-12 Andy Wingo <wingo@pobox.com> * gst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for core updates. * gst/gstmodule.c (init_gst): Give a better error message. (also fix the changelog)
This commit is contained in:
parent
46e1018e41
commit
584088b78c
13
ChangeLog
13
ChangeLog
@ -1,16 +1,17 @@
|
|||||||
2005-10-12 Andy Wingo <wingo@pobox.com>
|
2005-10-12 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* gst/gst.defs (gst_element_abort_preroll): foo
|
* gst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for
|
||||||
(gst_plugin_check_file):
|
core updates.
|
||||||
|
|
||||||
* gst/gst.defs (gst_element_finish_preroll): foo
|
* gst/gstmodule.c (init_gst): Give a better error message.
|
||||||
|
|
||||||
|
* gst/gst.defs (gst_registry_scan_paths)
|
||||||
|
(gst_element_abort_preroll, gst_plugin_check_file)
|
||||||
|
(gst_element_finish_preroll): Removed undefined symbols.
|
||||||
|
|
||||||
* gst/gstelement.override (_wrap_gst_element_get_state): Fix for
|
* gst/gstelement.override (_wrap_gst_element_get_state): Fix for
|
||||||
GstClockTime api change.
|
GstClockTime api change.
|
||||||
|
|
||||||
* gst/gst.defs (gst_registry_scan_paths): Removed, following
|
|
||||||
removal from GStreamer.
|
|
||||||
|
|
||||||
2005-10-12 Julien MOUTTE <julien@moutte.net>
|
2005-10-12 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
* gst/gst-argtypes.c:
|
* gst/gst-argtypes.c:
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
(define-method flags
|
(define-method flags
|
||||||
(of-object "GstElement")
|
(of-object "GstElement")
|
||||||
(c-name "GST_FLAGS")
|
(c-name "GST_OBJECT_FLAGS")
|
||||||
(return-type "GstElementFlags")
|
(return-type "GstElementFlags")
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-method set_flag
|
(define-method set_flag
|
||||||
(of-object "GstObject")
|
(of-object "GstObject")
|
||||||
(c-name "GST_FLAG_SET")
|
(c-name "GST_OBJECT_FLAG_SET")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("GstObjectFlags" "flags")
|
'("GstObjectFlags" "flags")
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
(define-method unset_flag
|
(define-method unset_flag
|
||||||
(of-object "GstObject")
|
(of-object "GstObject")
|
||||||
(c-name "GST_FLAG_UNSET")
|
(c-name "GST_OBJECT_FLAG_UNSET")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("GstObjectFlags" "flag")
|
'("GstObjectFlags" "flag")
|
||||||
|
@ -131,12 +131,17 @@ init_gst (void)
|
|||||||
argv[0] = g_strdup("");
|
argv[0] = g_strdup("");
|
||||||
}
|
}
|
||||||
if (!gst_init_check (&argc, &argv, &error)) {
|
if (!gst_init_check (&argc, &argv, &error)) {
|
||||||
|
gchar *errstr;
|
||||||
|
|
||||||
if (argv != NULL) {
|
if (argv != NULL) {
|
||||||
for (i = 0; i < argc; i++)
|
for (i = 0; i < argc; i++)
|
||||||
g_free (argv[i]);
|
g_free (argv[i]);
|
||||||
g_free (argv);
|
g_free (argv);
|
||||||
}
|
}
|
||||||
PyErr_SetString (PyExc_RuntimeError, "can't initialize module gst");
|
errstr = g_strdup_printf ("can't initialize module gst: %s",
|
||||||
|
GST_STR_NULL (error->message));
|
||||||
|
PyErr_SetString (PyExc_RuntimeError, errstr);
|
||||||
|
g_free (errstr);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
setlocale(LC_NUMERIC, "C");
|
setlocale(LC_NUMERIC, "C");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user