[Bug 705991] Adding support for DASH common encryption to qtdemux and dashdemux

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 15 13:09:46 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=705991
  GStreamer | gst-plugins-good | git

--- Comment #45 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-01-15 21:09:40 UTC ---
(In reply to comment #44)

> How does a GstValueArray work with intersecting?
> 
> If qtdemux outputs:
> 
> "application/x-cenc, encryption-scheme={A, B, C}"
> 
> and my system has a decrypter with:
> 
> "application/x-cenc, encryption-scheme=A"
> 
> Does it work? Or will it only work with the autodecrypter that has all possible
> systems and does everything underneath?

That's a GstValueList, and there it would would intersect if your element
handles any of the encryption schemes but unfortunately a GstValueList is not a
fixed value.

GstValueArray is e.g. encryption-scheme=<A, B, C> and considered fixed. And
your element is only compatible with that if it has exactly <A, B, C> (and in
that order!) on the caps.

But the idea here is that there is a generic cenc autoplugger that has just
"application/x-cenc" on the caps and then internally autoplugs a cenc decryptor
that handles the encryption-scheme.


IMHO not as nice conceptionally as the other solution that would use the caps
as they're supposed to be used (and requires ugly caps, see above)... but still
an acceptable compromise.

-- 
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