Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
dde89b0c
Commit
dde89b0c
authored
Mar 03, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/stream.c: use less memory for the stream cache when OPTIMIZE_MEMORY is defined.
parent
6bb8e8f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/input/stream.c
src/input/stream.c
+2
-6
No files found.
src/input/stream.c
View file @
dde89b0c
...
...
@@ -27,10 +27,6 @@
#include "input_internal.h"
#ifdef UNDER_CE
# define LOW_MEM
#endif
/* TODO:
* - tune the 2 methods
* - compute cost for seek
...
...
@@ -45,8 +41,8 @@
* More complex scheme using mutliple track to avoid seeking
*/
/* How many track we have, currently only used for stream mode */
#ifdef
LOW_MEM
/* How many track
s
we have, currently only used for stream mode */
#ifdef
OPTIMIZE_MEMORY
# define STREAM_CACHE_TRACK 1
/* Max size of our cache 128Ko per track */
# define STREAM_CACHE_SIZE (STREAM_CACHE_TRACK*1024*128)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment