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
cdf5edf7
Commit
cdf5edf7
authored
Oct 27, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/ogg.c: we now set p_input->stream.i_mux_rate.
parent
6d6601ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
modules/demux/ogg.c
modules/demux/ogg.c
+9
-11
No files found.
modules/demux/ogg.c
View file @
cdf5edf7
...
...
@@ -2,7 +2,7 @@
* ogg.c : ogg stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: ogg.c,v 1.
1 2002/10/24 09:30:48
gbazin Exp $
* $Id: ogg.c,v 1.
2 2002/10/27 16:59:30
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -430,6 +430,7 @@ static int Activate( vlc_object_t * p_this )
goto
error
;
}
p_input
->
stream
.
p_selected_program
=
p_input
->
stream
.
pp_programs
[
0
];
p_input
->
stream
.
i_mux_rate
=
0
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
for
(
i_stream
=
0
;
i_stream
<
p_ogg
->
i_streams
;
i_stream
++
)
...
...
@@ -439,6 +440,7 @@ static int Activate( vlc_object_t * p_this )
p_stream
->
p_es
=
input_AddES
(
p_input
,
p_input
->
stream
.
p_selected_program
,
p_ogg
->
i_streams
+
1
,
0
);
p_input
->
stream
.
i_mux_rate
+=
(
p_stream
->
i_bitrate
/
(
8
*
50
));
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
p_stream
->
p_es
->
i_stream_id
=
i_stream
;
p_stream
->
p_es
->
i_fourcc
=
p_stream
->
i_fourcc
;
...
...
@@ -446,10 +448,6 @@ static int Activate( vlc_object_t * p_this )
#undef p_stream
}
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
p_input
->
stream
.
i_mux_rate
=
0
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
for
(
i_stream
=
0
;
i_stream
<
p_ogg
->
i_streams
;
i_stream
++
)
{
#define p_stream p_ogg->pp_stream[i_stream]
...
...
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