2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
+ Based on patch by: Milosz Derezynski <internalerror gmail com>
+
+ * gst/gsterror.c: (_gst_stream_errors_init):
+ * gst/gsterror.h:
+ Add two new error codes for encrypted content. Fixes #524659.
+ API: GST_STREAM_ERROR_DECRYPT
+ API: GST_STREAM_ERROR_DECRYPT_NOKEY
+
+2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
+
* gst/gstquery.h:
Fix typo.
TABLE (t, STREAM, DEMUX, N_("Could not demultiplex stream."));
TABLE (t, STREAM, MUX, N_("Could not multiplex stream."));
TABLE (t, STREAM, FORMAT, N_("The stream is in the wrong format."));
+ TABLE (t, STREAM, DECRYPT,
+ N_("The stream is encrypted and decryption is not supported."));
+ TABLE (t, STREAM, DECRYPT_NOKEY,
+ N_("The stream is encrypted and can't be decrypted because no suitable"
+ "key has been supplied."));
return t;
}
* @GST_STREAM_ERROR_MUX: used when muxing fails.
* @GST_STREAM_ERROR_FORMAT: used when the stream is of the wrong format
* (for example, wrong caps).
+ * @GST_STREAM_ERROR_DECRYPT: used when the stream is encrypted and can't be
+ * decrypted because this is not supported by the element. (Since: 0.10.20)
+ * @GST_STREAM_ERROR_DECRYPT_NOKEY: used when the stream is encrypted and
+ * can't be decrypted because no suitable key is available. (Since: 0.10.20)
* @GST_STREAM_ERROR_NUM_ERRORS: the number of stream error types.
*
* Stream errors are for anything related to the stream being processed:
GST_STREAM_ERROR_DEMUX,
GST_STREAM_ERROR_MUX,
GST_STREAM_ERROR_FORMAT,
+ GST_STREAM_ERROR_DECRYPT,
+ GST_STREAM_ERROR_DECRYPT_NOKEY,
GST_STREAM_ERROR_NUM_ERRORS
} GstStreamError;