After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779966 - Avoid usage of GstVideoGLTextureUploadMeta
Avoid usage of GstVideoGLTextureUploadMeta
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Low normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
P3
Depends on:
Blocks: 779965
 
 
Reported: 2017-03-13 07:20 UTC by Matthew Waters (ystreet00)
Modified: 2018-11-03 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
plugins: avoid using GstVideoGLTextureUploadMeta when GST_DISABLE_DEPRECATED is defined (4.14 KB, patch)
2017-03-13 07:23 UTC, Matthew Waters (ystreet00)
none Details | Review
plugins: deprecate usage GstVideoGLTextureUploadMeta (8.71 KB, patch)
2017-03-15 17:54 UTC, Víctor Manuel Jáquez Leal
none Details | Review
vaapi: silence deprecation warnings from GstVideoGLTextureUploadMeta (1.89 KB, patch)
2018-05-06 10:38 UTC, Matthew Waters (ystreet00)
none Details | Review

Description Matthew Waters (ystreet00) 2017-03-13 07:20:14 UTC
The plan is for the upload meta to be replaced by gstreamer-gl and as such the first steps to deprecating it are in place in bug 779965.

gstreamer-vaapi should avoid using it when deprecated symbols are disabled.
Comment 1 Matthew Waters (ystreet00) 2017-03-13 07:23:06 UTC
Created attachment 347801 [details] [review]
plugins: avoid using GstVideoGLTextureUploadMeta when GST_DISABLE_DEPRECATED is defined
Comment 2 Víctor Manuel Jáquez Leal 2017-03-15 17:02:27 UTC
Matthew, in which version did you create the patch? it doesn't apply in master anymore, but looks way before branch 1.10
Comment 3 Víctor Manuel Jáquez Leal 2017-03-15 17:54:34 UTC
Created attachment 348022 [details] [review]
plugins: deprecate usage GstVideoGLTextureUploadMeta

When GST_DISABLE_DEPRECATED is defined don't expose
GstVideoGLTextureUploadMeta
Comment 4 Matthew Waters (ystreet00) 2017-03-16 00:15:05 UTC
It was based on master just after 1.10.0 was released :)
Comment 5 Daniel van Vugt 2017-07-24 10:19:08 UTC
AFAIK, the only efficient code path for clutter-gst (hence totem) is GstVideoGLTextureUploadMeta. If you deprecate it then efficient video playback in totem is lost, and clutter-gst will revert to the slow software upload path.

Do you plan on enhancing clutter-gst to give it some other efficient render path in place of GstVideoGLTextureUploadMeta?
Comment 6 Nicolas Dufresne (ndufresne) 2017-07-24 12:51:34 UTC
To be fair, my push would be to deprecated cluttergst in favour of gtkglsink. Pretty much all what we do in GL or zero-copy ends up incompatible due to conflicting limitations (old cogl that is).
Comment 7 Daniel van Vugt 2017-07-25 01:42:55 UTC
I totally agree, but Totem relies on clutter-gst and is the default video player for Gnome. And Gnome is the default desktop for major Linuxes now.

Hence we're stuck with clutter-gst's performance being a priority for the major Linux desktops.
Comment 8 Nicolas Dufresne (ndufresne) 2017-07-25 12:23:08 UTC
(In reply to Daniel van Vugt from comment #7)
> I totally agree, but Totem relies on clutter-gst and is the default video
> player for Gnome. And Gnome is the default desktop for major Linuxes now.
> 
> Hence we're stuck with clutter-gst's performance being a priority for the
> major Linux desktops.

What is the difference between modifying Totem vs Modifying GStreamer ?
Comment 9 Daniel van Vugt 2017-07-26 02:04:03 UTC
I have no preference for what gets modified, so long as the outcome is the same: Totem can still accept zero-copy video frames, somehow.

That could indeed be achieved by modifying Totem or GStreamer. See bug 740753 where I have a recent patch for the latter.

My previous comments really are just about ensuring there is no period of uncertainty where Totem would have no efficient zero-copy code path. A feature should not be deprecated until some replacement for it exists.
Comment 10 Matthew Waters (ystreet00) 2018-05-06 10:38:53 UTC
Created attachment 371742 [details] [review]
vaapi: silence deprecation warnings from GstVideoGLTextureUploadMeta
Comment 11 GStreamer system administrator 2018-11-03 15:49:36 UTC
-- 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/gstreamer-vaapi/issues/52.