From 8eae85edce64a5454036be7ffa5c526dc7e1f92e Mon Sep 17 00:00:00 2001 From: Claudio Ciccani Date: Mon, 18 Dec 2006 21:22:45 +0000 Subject: Added INPUT_CAP_NOCACHE: disable usage of internal input cache by default. CVS patchset: 8421 CVS date: 2006/12/18 21:22:45 --- src/xine-engine/xine.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/xine-engine') 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)) { -- cgit v1.2.3