[vlc-commits] demux: asf: trigger dialog on drm streams
Francois Cartegnie
git at videolan.org
Mon Dec 9 23:24:40 CET 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec 9 23:21:08 2013 +0100| [08b4ccaa9d031c96a8a37d12ce88be386204bebd] | committer: Francois Cartegnie
demux: asf: trigger dialog on drm streams
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08b4ccaa9d031c96a8a37d12ce88be386204bebd
---
modules/demux/asf/asf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 11ab564..ce4dc76 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -1088,7 +1088,8 @@ static int DemuxInit( demux_t *p_demux )
|| ASF_FindObject( p_sys->p_root->p_hdr,
&asf_object_advanced_content_encryption_guid, 0 ) != NULL )
{
- msg_Warn( p_demux, "ASF plugin discarded (DRM encumbered content)" );
+ dialog_Fatal( p_demux, _("Could not demux ASF stream"), "%s",
+ _("DRM protected streams are not supported.") );
goto error;
}
More information about the vlc-commits
mailing list