summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-04-30 12:18:41 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-04-30 12:18:41 +0000
commit64baa0a0c6d898e8852e6c9d8be7278fafbbb1cb (patch)
treef4c7d2246a3eddab4ee31d32f84082ee4a9186e5 /gst
parente483f6c651ad2ba618636d751716fba155400c99 (diff)
Use new error code for encrypted streams (which requires core CVS).
Original commit message from CVS: * configure.ac: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Use new error code for encrypted streams (which requires core CVS).
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 715af948..c6adfe6d 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -3591,8 +3591,7 @@ corrupt_file:
}
error_encrypted:
{
- GST_ELEMENT_ERROR (qtdemux, STREAM, DECODE,
- (_("This file is encrypted and cannot be played.")), (NULL));
+ GST_ELEMENT_ERROR (qtdemux, STREAM, DECRYPT, (NULL), (NULL));
g_free (stream);
return FALSE;
}