mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
check for type register failures
Original commit message from CVS: check for type register failures
This commit is contained in:
parent
ee27cce6f3
commit
3a0476127a
2 changed files with 3 additions and 2 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit bbd74e96ef37a7d437930f85f939a6a7d36dd012
|
||||
Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
|
|
@ -569,8 +569,9 @@ gst_ffmpegenc_register (GstPlugin *plugin)
|
|||
goto next;
|
||||
}
|
||||
|
||||
/* create the gtk type now */
|
||||
/* create the glib type now */
|
||||
type = g_type_register_static(GST_TYPE_ELEMENT, type_name , &typeinfo, 0);
|
||||
g_return_val_if_fail(type != 0, FALSE);
|
||||
|
||||
/* construct the element details struct */
|
||||
details = g_new0 (GstElementDetails,1);
|
||||
|
|
Loading…
Reference in a new issue