GNOME Bugzilla – Bug 784279
Export enum GstPlayFlags
Last modified: 2017-06-28 10:37:12 UTC
Any reason not to export it? If I want to tweak playbin's flags I usually have to define this enum in the client code. typedef enum { GST_PLAY_FLAG_VIDEO = (1 << 0), GST_PLAY_FLAG_AUDIO = (1 << 1), GST_PLAY_FLAG_TEXT = (1 << 2), GST_PLAY_FLAG_VIS = (1 << 3), GST_PLAY_FLAG_SOFT_VOLUME = (1 << 4), GST_PLAY_FLAG_NATIVE_AUDIO = (1 << 5), GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 6), GST_PLAY_FLAG_DOWNLOAD = (1 << 7), GST_PLAY_FLAG_BUFFERING = (1 << 8), GST_PLAY_FLAG_DEINTERLACE = (1 << 9), GST_PLAY_FLAG_SOFT_COLORBALANCE = (1 << 10), GST_PLAY_FLAG_FORCE_FILTERS = (1 << 11), } GstPlayFlags;
Thanks for the bug report, but we don't export plugin headers, sorry. You can copy and paste these into your code, or use API like gst_util_set_object_arg() so you can use string nicks. You can also use higher-level API such as GstPlayer which has full headers :)