gst_type_find_suggest_simple (tf, GST_TYPE_FIND_MAXIMUM, media_type,
"width", G_TYPE_INT, w, "height", G_TYPE_INT, h, NULL);
} else {
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_LIKELY, media_type, NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_LIKELY, media_type);
}
}
else
prob = GST_TYPE_FIND_MAXIMUM;
- gst_type_find_suggest_simple (tf, prob, type_name, NULL);
+ gst_type_find_suggest_empty_simple (tf, prob, type_name);
}
/*** application/mxf ***/
media_type, hdr_count[OGG_AUDIO], hdr_count[OGG_VIDEO],
hdr_count[OGG_ANNODEX], hdr_count[OGG_SKELETON], hdr_count[OGG_OTHER]);
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_MAXIMUM, media_type, NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_MAXIMUM, media_type);
}
/*** audio/x-vorbis ***/
if (strcmp (category, "subtitles") == 0 || strcmp (category, "SUB") == 0 ||
strcmp (category, "spu-subtitles") == 0 ||
strcmp (category, "K-SPU") == 0) {
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_MAXIMUM,
- "subtitle/x-kate", NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_MAXIMUM,
+ "subtitle/x-kate");
} else {
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_MAXIMUM,
- "application/x-kate", NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_MAXIMUM,
+ "application/x-kate");
}
}
* non-media formats, so suggest the type with a probability that trumps
* uncertain results of our typefinders, but not more than that. */
GST_LOG ("Suggesting '%s' with probability POSSIBLE", mimetype);
- gst_type_find_suggest_simple (find, GST_TYPE_FIND_POSSIBLE, mimetype, NULL);
+ gst_type_find_suggest_empty_simple (find, GST_TYPE_FIND_POSSIBLE, mimetype);
g_free (mimetype);
}
#endif /* USE_GIO */
|| size + offset > datalen)
return;
- gst_type_find_suggest_simple (find, GST_TYPE_FIND_NEARLY_CERTAIN,
- "image/x-icon", NULL);
+ gst_type_find_suggest_empty_simple (find, GST_TYPE_FIND_NEARLY_CERTAIN,
+ "image/x-icon");
}
/*** WAP WBMP typefinder ***/
size += h * (GST_ROUND_UP_8 (w) / 8);
if (datalen == size) {
- gst_type_find_suggest_simple (find, GST_TYPE_FIND_POSSIBLE - 10,
- "image/vnd.wap.wbmp", NULL);
+ gst_type_find_suggest_empty_simple (find, GST_TYPE_FIND_POSSIBLE - 10,
+ "image/vnd.wap.wbmp");
}
}
if (len == 32034) {
/* could be DEGAS */
if (resolution <= 2)
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_POSSIBLE + 5,
- "image/x-degas", NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_POSSIBLE + 5,
+ "image/x-degas");
} else if (len == 32066) {
/* could be DEGAS Elite */
if (resolution <= 2) {
if (GST_READ_UINT16_BE (data + n * 2) > 2)
return;
}
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_POSSIBLE + 5,
- "image/x-degas", NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_POSSIBLE + 5,
+ "image/x-degas");
}
} else if (len >= 66 && len < 32066) {
/* could be compressed DEGAS Elite, but it's compressed and so we can't rely on size,
if (GST_READ_UINT16_BE (data + n * 2) > 2)
return;
}
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_POSSIBLE + 5,
- "image/x-degas", NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_POSSIBLE + 5,
+ "image/x-degas");
}
}
}
return;
/* May need more inspection, we may be able to demux some of them */
- gst_type_find_suggest_simple (tf, GST_TYPE_FIND_LIKELY,
- "application/octet-stream", NULL);
+ gst_type_find_suggest_empty_simple (tf, GST_TYPE_FIND_LIKELY,
+ "application/octet-stream");
}
/* SSA/ASS subtitles