GNOME Bugzilla – Bug 725642
videodecoder: free bufferpool and allocator earlier
Last modified: 2014-03-04 09:13:01 UTC
There could be hardware resources inside the bufferpool/allocator that need to freed before close can be called. One specific culmination of this is evident with https://bugzilla.gnome.org/show_bug.cgi?id=725048#c15
Created attachment 270871 [details] [review] videodecoder: free bufferpool and allocator earlier
Comment on attachment 270871 [details] [review] videodecoder: free bufferpool and allocator earlier Can you also prepare the same patch for the video encoder, and audio encoder/decoder?
Comment on attachment 270871 [details] [review] videodecoder: free bufferpool and allocator earlier Actually... this should be in PAUSED->READY state change already. And we need to make sure that before unreffing we deactivate the buffer pool.
Created attachment 270877 [details] [review] videodecoder: free bufferpool and allocator earlier (In reply to comment #3) > (From update of attachment 270871 [details] [review]) > Actually... this should be in PAUSED->READY state change already. And we need > to make sure that before unreffing we deactivate the buffer pool. Already? It doesn't seem to be in the PAUSED->READY state change or any of the functions it calls.
Ah, it's in master, not 1.2.
*** This bug has been marked as a duplicate of bug 720389 ***