summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/input_rip.c6
1 files changed, 4 insertions, 2 deletions
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,