[Bug 691370] caps intersection is broken for channel-layout / bitmasks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 13 07:07:58 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=691370
  GStreamer | gstreamer (core) | git

--- Comment #8 from Sebastian Dröge <slomo at circular-chaos.org> 2013-02-13 14:30:09 UTC ---
(In reply to comment #5)
> Yeah, except this subset is exactly what doesn't work for channel layout (see
> the description). 
> 
> If you intersect
>      { channels: 4, layout: FL FR RL RR } 
> with 
>      { channels: 4, layout: FL FR SR SR }
>  and get
>      { channels: 4, layout: FL FR } 
> as result it is clearly wrong. It shouldn't intersect in this case.

The intersection is correct... but elements are supposed to reject this because
channels=4 and length(layout)=2 is invalid. This is similar to what we had in
0.10 with the channels field and the channel-layout array: the caps where only
valid if the channel-layout had as many elements as channels.

Or am I misunderstanding the problem here?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list