From a49581c47c68940e81b70c0cd30a7f9ae8737815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sat, 8 Nov 2003 09:14:29 +0000 Subject: Enclose forbid of saving between ifdefs for people, who may do it. CVS patchset: 5707 CVS date: 2003/11/08 09:14:29 --- 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 60c6491b2..f089f1cd1 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.11 2003/11/04 14:38:26 valtri Exp $ + * $Id: input_rip.c,v 1.12 2003/11/08 09:14:29 valtri Exp $ */ /* TODO: @@ -543,12 +543,14 @@ input_plugin_t *rip_plugin_get_instance (xine_stream_t *stream, const char *file _("The stream save feature is disabled until you set misc.save_dir in the configuration.")); return NULL; } - + +#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")); return NULL; } +#endif if (!filename || !filename[0]) { xine_log(stream->xine, XINE_LOG_MSG, -- cgit v1.2.3