[gstreamer-bugs] [Bug 524659] Add specific error code for encrypted streams (e.g. WMA/AAC DRM)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Apr 9 07:49:54 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=524659
GStreamer | gstreamer (core) | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #108113|0 |1
is obsolete| |
------- Comment #6 from Tim-Philipp Müller 2008-04-09 14:49 UTC -------
Created an attachment (id=108930)
--> (http://bugzilla.gnome.org/attachment.cgi?id=108930&action=view)
add STREAM_DECRYPT and STREAM_DECRYPT_NOKEY error codes
Alternative patch which tries to address two issues:
- IMHO we should provide two different error codes for the case where
decryption isn't supported by the element and where it is supported
in principle, but the content can't be decrypted because on key has
been supplied/found.
- as Mike mentioned, the problem isn't really that the content is
encrypted, but that it can't be decrypted, and both the enum and
the error message should reflect that. I first went for something
like GST_STREAM_ERROR_UNSUPPORTED_ENCRYPTION, but that's a bit
long and I couldn't come up with an equivalent for the missing
key situation, so I just went with GST_STREAM_ERROR_DECRYPT*.
This is also more in line with the other error codes, ie.
_DEMUX, _DECODE, _ENCODE.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=524659.
More information about the Gstreamer-bugs
mailing list