diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-08 22:12:13 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-08 22:12:13 +0000 |
commit | 684fe3aec5e100f92cd7675ccbea9b88321ac524 (patch) | |
tree | c8c9b0ed4509e780592f1774a42949d0fba5f0a3 | |
parent | a49581c47c68940e81b70c0cd30a7f9ae8737815 (diff) | |
download | xine-lib-684fe3aec5e100f92cd7675ccbea9b88321ac524.tar.gz xine-lib-684fe3aec5e100f92cd7675ccbea9b88321ac524.tar.bz2 |
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
-rw-r--r-- | src/xine-engine/input_rip.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 |