diff --git a/ChangeLog b/ChangeLog index 0c10737fa9..07652e1a95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-25 Stefan Kost + + * ext/dc1394/gstdc1394.c: + Set initial structure name to fix assertion, due to recent caps name + constraints. + 2007-11-23 Zaheer Abbas Merali patch by: Alessandro Decina diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c index 190a0df8d3..c9d6dc9037 100644 --- a/ext/dc1394/gstdc1394.c +++ b/ext/dc1394/gstdc1394.c @@ -793,7 +793,7 @@ gst_dc1394_get_all_dc1394_caps () gcaps = gst_caps_new_empty (); // first, the fixed mode caps for (i = DC1394_VIDEO_MODE_MIN; i < DC1394_VIDEO_MODE_EXIF; i++) { - GstStructure *gs = gst_structure_empty_new (""); + GstStructure *gs = gst_structure_empty_new ("video"); gint ret = gst_dc1394_caps_set_format_vmode_caps (gs, i); gst_structure_set (gs, @@ -807,7 +807,7 @@ gst_dc1394_get_all_dc1394_caps () // then Format 7 options for (i = DC1394_COLOR_CODING_MIN; i <= DC1394_COLOR_CODING_MAX; i++) { - GstStructure *gs = gst_structure_empty_new (""); + GstStructure *gs = gst_structure_empty_new ("video"); //int ret = gst_dc1394_caps_set_format_vmode_caps(gs, i); @@ -1216,7 +1216,6 @@ gst_dc1394_change_camera_transmission (GstDc1394 * src, gboolean on) static gboolean plugin_init (GstPlugin * plugin) { - GST_DEBUG_CATEGORY_INIT (dc1394_debug, "dc1394", 0, "DC1394 interface"); return gst_element_register (plugin, "dc1394src", GST_RANK_NONE,