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
6e108358
Commit
6e108358
authored
Aug 11, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A bit saner values for the bitrates in ASF muxer to reduce WMP caching.
parent
3e5cbc8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/mux/asf.c
modules/mux/asf.c
+4
-4
No files found.
modules/mux/asf.c
View file @
6e108358
...
...
@@ -489,7 +489,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
}
else
{
p_sys
->
i_bitrate
+=
512
000
;
p_sys
->
i_bitrate
+=
128
000
;
}
if
(
p_sys
->
i_bitrate_override
)
p_sys
->
i_bitrate
=
p_sys
->
i_bitrate_override
;
...
...
@@ -575,7 +575,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
}
else
{
p_sys
->
i_bitrate
+=
1000
000
;
p_sys
->
i_bitrate
+=
512
000
;
}
if
(
p_sys
->
i_bitrate_override
)
p_sys
->
i_bitrate
=
p_sys
->
i_bitrate_override
;
...
...
@@ -608,14 +608,14 @@ static int DelStream( sout_mux_t *p_mux, sout_input_t *p_input )
if
(
p_input
->
p_fmt
->
i_bitrate
>
24000
)
p_sys
->
i_bitrate
-=
p_input
->
p_fmt
->
i_bitrate
;
else
p_sys
->
i_bitrate
-=
512
000
;
p_sys
->
i_bitrate
-=
128
000
;
}
else
if
(
tk
->
i_cat
==
VIDEO_ES
)
{
if
(
p_input
->
p_fmt
->
i_bitrate
>
50000
)
p_sys
->
i_bitrate
-=
p_input
->
p_fmt
->
i_bitrate
;
else
p_sys
->
i_bitrate
-=
1000
000
;
p_sys
->
i_bitrate
-=
512
000
;
}
}
msg_Dbg
(
p_mux
,
"removing input"
);
...
...
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