GNOME Bugzilla – Bug 747519
avfvideosrc: GLMemory should be preferred caps
Last modified: 2018-11-03 13:33:36 UTC
GLMemory allows higher performance than SystemMemory and should be placed higher. * avfvideosrc ! glimagesink will have high performance out-of-the-box, conforming to user expectation * Bugs like 747352 will be detected earlier
And are you sure it's also faster than sysmem if you do avfvideosrc ! filesink? We would have to download from the GPU then. It should only be used if downstream prefers that, which would be the case for all the situations where downstream can handle GL things.
I'll implement it following the example of gst_v4l2src_negotiate. As I understand, in this case I control the negotiation entirely so the template caps order doesn't strictly affect the "preferred caps" anymore. btw, same logic should apply once I implement caps for meta:CVPixelBuffer feature.
Are you still looking to work on this?
-- 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-bad/issues/234.