gst-plugins-bad: dvdspu: Fix pad templates

Edward Hervey bilboed at gmail.com
Mon May 30 03:30:51 PDT 2011


On Mon, 2011-05-30 at 06:46 +0200, Sebastian Dröge wrote:
> On Mon, 2011-05-30 at 04:01 +0200, Sebastian Dröge wrote:
> > On Sun, 2011-05-29 at 23:05 +0200, Edward Hervey wrote:
> > >   It does fail indeed with other caps:
> > > 
> > >   c1 = gst.Caps("blah,something={1}")
> > >   c2 = gst.Caps("blah,something=2")
> > > 
> > >   c1.is_subset(c2) => FALSE
> > >   c2.is_subset(c1) => FALSE
> > >   c1.intersect(c2) => empty caps
> > >   
> > > 
> > >    This commit can be reverted once core is fixed.
> > 
> > That's probably my fault then and I'll try to fix it after understanding
> > what exactly is wrong.
> > 
> > In the example you give above, why do you think this is wrong though?
> > These two caps are completely distinct, none is a subset of the other
> > and the intersection should be empty because both are incompatible. What
> > am I missing? :)
> 
> Oh I see, you wanted to use {1} and 1, not 2. Yes, this is broken
> currently, will fix it...

  Thanks for spotting my stupid sunday afternoon typo. Yes, I indeed
meant 1 and not 2.

  Will revert my other patch.

    Edward



More information about the gstreamer-devel mailing list