result = gst_discoverer_info_get_result (info);
GST_INFO ("result: %d, error message: %s", result, err->message);
fail_unless_equals_int (result, GST_DISCOVERER_MISSING_PLUGINS);
+#ifndef GST_DISABLE_DEPRECATED
GST_INFO ("misc: %" GST_PTR_FORMAT, gst_discoverer_info_get_misc (info));
+#endif
gst_discoverer_info_unref (info);
g_error_free (err);
{
gchar *tmp;
GstCaps *caps;
+#ifndef GST_DISABLE_DEPRECATED
const GstStructure *misc;
+#endif
my_g_string_append_printf (s, depth, "Codec:\n");
caps = gst_discoverer_stream_info_get_caps (info);
my_g_string_append_printf (s, depth, " %s\n", tmp);
g_free (tmp);
+#ifndef GST_DISABLE_DEPRECATED
my_g_string_append_printf (s, depth, "Additional info:\n");
if ((misc = gst_discoverer_stream_info_get_misc (info))) {
tmp = gst_structure_to_string (misc);
} else {
my_g_string_append_printf (s, depth, " None\n");
}
+#endif
my_g_string_append_printf (s, depth, "Stream ID: %s\n",
gst_discoverer_stream_info_get_stream_id (info));