GNOME Bugzilla – Bug 667722
decklinksrc will accept any caps
Last modified: 2012-03-17 21:31:36 UTC
Created attachment 205050 [details] [review] patch checking caps before accepting them The caps on the video pad are determined by the property 'mode', and the caps on the audio pad are fixed. The accept caps function will accept (that is, return TRUE) any caps, but should probably only return TRUE if the caps are the same. This is probably just nit-picking (and possibly incorrect), but the attached patch checks to see if the incoming caps intersect with the caps that are already set.
commit 18475dd0c229aa23a52add001f3d829cf0eb62ba Author: blake tregre <blake@oblong.com> Date: Mon Oct 31 18:58:34 2011 -0700 decklinksrc: make sure we can accept caps before returning true caps are determined by the plugin's properties, so we should check the incoming caps to see if they agree. Fixes: #667722.