GNOME Bugzilla – Bug 751469
encodebin: Add a profile-string property.
Last modified: 2018-11-03 11:38:34 UTC
This code was written by Thibault Saunier, and used in GES and gst-devtools. The documentation is lifted from gst-devtools. It is write-only for now, I don't yet see a use-case for serialization. This will allow encodebin to be used from the command-line, and allow removing code in devtools and GES.
Created attachment 306056 [details] [review] encodebin: Add a profile-string property.
Review of attachment 306056 [details] [review]: Looks good to me.
I wonder if we actually need a new property for this, wouldn't adding a GstValue deserialisation function for GstEncodingProfile work? Or did you want to avoid that on purpose?
I want to be able to specify a profile-string on the command-line, how would that work with a GstValue ?
As I just said, it would convert the string to a profile automatically if there's a deserialisation function registered. Just like it converts GstCaps or GstElements.
Yop OK, then that's the correct solution I'll do that.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/198.