[Bug 778434] applemedia: race condition in videotexturecache.m
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Feb 10 10:40:12 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=778434
--- Comment #1 from Nick Kallen <socialmediamaster9000 at gmail.com> ---
Created attachment 345416
--> https://bugzilla.gnome.org/attachment.cgi?id=345416&action=edit
Have iosglmemory be aware of the texture lifetime of videotexturecache
This solution treats the texture as a special object in iosglmemory and not as
generic user_data to be destroyed by gstglmemory. The latter doesn't destroy
the user_data in any particular thread.
This solution may violate the encapsulation boundary between iosglmemory and
videotexture cache; however, these objects are only used with one another and
are tightly coupled anyway, since iosglmemory requires the use of a
wrapped_texture. Ultimately, I think we should refactor this code so that
videotexturecache is a subclass or a strategy object of iosglmemory, but I
think this needs more thought before such a major change.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list