summaryrefslogtreecommitdiff
path: root/src/xine-engine
diff options
context:
space:
mode:
authorClaudio Ciccani <klan@users.sourceforge.net>2006-12-18 21:22:45 +0000
committerClaudio Ciccani <klan@users.sourceforge.net>2006-12-18 21:22:45 +0000
commit8eae85edce64a5454036be7ffa5c526dc7e1f92e (patch)
treedda3387bab23dab6eb5bb1ec3c0265be1d85831e /src/xine-engine
parente5832a7524780c1604ac43047705fee6688d6fde (diff)
downloadxine-lib-8eae85edce64a5454036be7ffa5c526dc7e1f92e.tar.gz
xine-lib-8eae85edce64a5454036be7ffa5c526dc7e1f92e.tar.bz2
Added INPUT_CAP_NOCACHE: disable usage of internal input cache by default.
CVS patchset: 8421 CVS date: 2006/12/18 21:22:45
Diffstat (limited to 'src/xine-engine')
-rw-r--r--src/xine-engine/xine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 2440e2d95..6149675f7 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine.c,v 1.336 2006/12/13 18:30:30 dsalt Exp $
+ * $Id: xine.c,v 1.337 2006/12/18 21:22:45 klan Exp $
*/
/*
@@ -769,6 +769,9 @@ static int open_internal (xine_stream_t *stream, const char *mrl) {
return 0;
}
+ if (stream->input_plugin->get_capabilities(stream->input_plugin) & INPUT_CAP_NOCACHE)
+ no_cache = 1;
+
if (*stream_setup) {
while (stream_setup && *stream_setup && *(++stream_setup)) {