Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8bc23a1c
Commit
8bc23a1c
authored
Aug 01, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stream.c: increase precache for stream without title/chapter.
parent
f41dff04
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/input/stream.c
src/input/stream.c
+3
-1
No files found.
src/input/stream.c
View file @
8bc23a1c
...
...
@@ -1102,6 +1102,8 @@ static void AStreamPrebufferStream( stream_t *s )
int64_t
i_first
=
0
;
int64_t
i_start
;
int64_t
i_prebuffer
=
(
s
->
p_sys
->
p_access
->
info
.
i_title
>
1
||
s
->
p_sys
->
p_access
->
info
.
i_seekpoint
>
1
)
?
STREAM_CACHE_PREBUFFER_SIZE
:
STREAM_CACHE_TRACK_SIZE
/
3
;
msg_Dbg
(
s
,
"pre buffering"
);
i_start
=
mdate
();
...
...
@@ -1112,7 +1114,7 @@ static void AStreamPrebufferStream( stream_t *s )
int64_t
i_date
=
mdate
();
int
i_read
;
if
(
s
->
b_die
||
tk
->
i_end
>=
STREAM_CACHE_PREBUFFER_SIZE
||
if
(
s
->
b_die
||
tk
->
i_end
>=
i_prebuffer
||
(
i_first
>
0
&&
i_first
+
STREAM_CACHE_PREBUFFER_LENGTH
<
i_date
)
)
{
int64_t
i_byterate
;
...
...
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