GNOME Bugzilla – Bug 533740
[API] add gst_typefind_suggest_simple()
Last modified: 2008-05-19 10:46:50 UTC
I'd like a function like this: void gst_type_find_suggest_simple (GstTypeFind * find, guint probability, const char * media_type, const char * fieldname, ...); to make it possible to write nicer-looking and more terse typefinding code.
Created attachment 111110 [details] [review] add gst_typefind_suggest_simple()
Should this have G_GNUC_NULL_TERMINATED? Looks good with that change; I guess uses of this will follow?
> Should this have G_GNUC_NULL_TERMINATED? Not reall, for the same reason gst_caps_new_simple() etc. don't have it, see bug #343346. We could add it here, but that would make it inconsistent with the other functions. 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk> * docs/gst/gstreamer-sections.txt: * gst/gsttypefind.c: (gst_type_find_suggest_simple): * gst/gsttypefind.h: * win32/common/libgstreamer.def: API: add gst_type_find_suggest_simple(), #533740.