GNOME Bugzilla – Bug 775040
vaapidecode: implement negotiate() vmethod
Last modified: 2016-12-14 15:25:57 UTC
Instead of decorating the negotiate() method, let us override it, so the stream is locked while called.
Created attachment 340705 [details] [review] vaapidecode: implement negotiate() vmethod
Comment on attachment 340705 [details] [review] vaapidecode: implement negotiate() vmethod commit 3285121181295c544480fc6ba756845b16285d30 Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> Date: Mon Nov 21 18:25:18 2016 +0100 vaapidecode: implement negotiate() vmethod Instead of decorating the negotiate() method, let us override it, so the stream is locked while called. https://bugzilla.gnome.org/show_bug.cgi?id=775040
I have seen error logs since this commit. I think we should revert it.
commit daed911caf4bbeee35273e78ebe029a03cf645b9 Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> Date: Fri Dec 9 17:56:02 2016 +0100 vaapidecode: lock stream when setting caps commit ba49dc9dd77e858946fd2ad277117abcc8e36ad9 Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> Date: Fri Dec 9 17:42:42 2016 +0100 Revert "vaapidecode: implement negotiate() vmethod" This reverts commit 3285121181295c544480fc6ba756845b16285d30. videodecode's negotiate() vmethod is also called when events arrive, but this would mean that the proper configuration of sink pad might not be complete, thus we should not update the src pad. Let's keep the old non-vmethod negotitate().