summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-11-08 09:14:29 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-11-08 09:14:29 +0000
commita49581c47c68940e81b70c0cd30a7f9ae8737815 (patch)
tree0d837620dde3091d254fe2699e21b25b508b5ecf
parent727efa39e2807c00b7866d346b4d21b345980991 (diff)
downloadxine-lib-a49581c47c68940e81b70c0cd30a7f9ae8737815.tar.gz
xine-lib-a49581c47c68940e81b70c0cd30a7f9ae8737815.tar.bz2
Enclose forbid of saving between ifdefs for people, who may do it.
CVS patchset: 5707 CVS date: 2003/11/08 09:14:29
-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,