GNOME Bugzilla – Bug 728147
Question about GstPlayFlags enum value at the header is not installed
Last modified: 2014-04-14 09:09:00 UTC
Hello, I hesitate to ask the question here. If it is inappropriate, i'm sorry about bother who someone read it. Anyway, my question is, can I modify to install gstplay-enum.h header file? On that header, there is a enum value what is named GstPlayFlags. It used to playbin2 by application to configure pipeline. The application should define it when they want to use it because it has not installed. Is there any reason for it or what I don't know about it? please let me know. thanks.
plugin headers are not supposed to be installed. You can either copy the enum to your code (it's part of the API so won't just change in incompatible ways), or you can use the GObject API to get the flag values at runtime like gst-launch for example does.
Thanks for your reply! :)
You can also use gst_util_set_object_arg()