GNOME Bugzilla – Bug 760222
videopool: store videoinfo after choosing the biggest buffer size
Last modified: 2016-01-11 23:17:31 UTC
When configuring size of a videopool, if pool size is greater than the video info size got from caps, value is accepted and pool is configured accordingly. But we currently store the pool video info before size modification which causes inconsistency between pool configuration and pool stored video info which are used in allocation function. Hence allocated buffers have wrong size.
Created attachment 318337 [details] [review] videopool: store videoinfo after choosing the biggest buffer size Just store video info after setting info.size.
Attachment 318337 [details] pushed as c119715 - videopool: store videoinfo after choosing the biggest buffer size
Thanks, good catch.
Cherry-picked into 1.6 as well.
Thanks.