GNOME Bugzilla – Bug 745535
vaapipostproc: always activate buffer pool
Last modified: 2015-03-06 16:11:27 UTC
When playing videos with gst-play using the new gstvaapidecodebin, it fails most of time, because normally, several caps negotiations are done and it is not supported by vaapipostproc. The following patch fixes that issue.
Created attachment 298441 [details] [review] vaapipostproc: always activate buffer pool The vaapipostproc has a proxy flag to know if the the buffer pool is already active. But this fails in some situations where it is needed to renegotiate the buffer pool. This patch removes that flag so the renegotiation is done whenever is required.
Could you please share the video sample?
(In reply to sreerenj from comment #2) > Could you please share the video sample? The one that hadess shared in bug #743687 https://hadess.fedorapeople.org/bug743687.mkv But I have a full motion picture that shows the same behavior.
Though, I'm quite convinced that the proxy flag is not necessary at all: gst_buffer_pool_set_active () has a shortcut for that situation.
Review of attachment 298441 [details] [review]: LGTM
Pushed, Thanks for the patch. commit 98655a195fcacd649d51f1fd45c7ef9cc2d26fa3 Author: Víctor Manuel Jáquez Leal <vjaquez@igalia.com> Date: Fri Mar 6 12:16:17 2015 +0200 vaapipostproc: always activate buffer pool The vaapipostproc has a proxy flag to know if the the buffer pool is already active. But this fails in some situations where it is needed to renegotiate the buffer pool. This patch removes that flag so the renegotiation is done whenever is required. https://bugzilla.gnome.org/show_bug.cgi?id=745535