From 684fe3aec5e100f92cd7675ccbea9b88321ac524 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 8 Nov 2003 22:12:13 +0000 Subject: inform the user of why stream cannot be saved. should we add a new XINE_MSG_ type? CVS patchset: 5708 CVS date: 2003/11/08 22:12:13 --- src/xine-engine/input_rip.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xine-engine/input_rip.c b/src/xine-engine/input_rip.c index f089f1cd1..a5f80a989 100644 --- a/src/xine-engine/input_rip.c +++ b/src/xine-engine/input_rip.c @@ -29,7 +29,7 @@ * - it's possible speeder saving streams in the xine without playing: * xine stream_mrl#save:file.raw\;noaudio\;novideo * - * $Id: input_rip.c,v 1.12 2003/11/08 09:14:29 valtri Exp $ + * $Id: input_rip.c,v 1.13 2003/11/08 22:12:13 miguelfreitas Exp $ */ /* TODO: @@ -547,7 +547,9 @@ input_plugin_t *rip_plugin_get_instance (xine_stream_t *stream, const char *file #ifndef SAVING_ALWAYS_PERMIT if ( main_plugin->get_capabilities(main_plugin) & INPUT_CAP_RIP_FORBIDDEN ) { xine_log(stream->xine, XINE_LOG_MSG, - _("input_rip: ripping/caching is not permitted!\n")); + _("input_rip: ripping/caching of this source is not permitted!\n")); + xine_message(stream, XINE_MSG_SECURITY, + _("xine is not allowed to save from this source. (possibly copyrighted material?)")); return NULL; } #endif -- cgit v1.2.3