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
5b83bb59
Commit
5b83bb59
authored
Dec 15, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/ogg.c: a couple of fixes for flac streaming.
parent
21636bda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
modules/demux/ogg.c
modules/demux/ogg.c
+8
-2
No files found.
modules/demux/ogg.c
View file @
5b83bb59
...
...
@@ -2,7 +2,7 @@
* ogg.c : ogg stream input module for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: ogg.c,v 1.
49 2003/12/04 22:37:02
gbazin Exp $
* $Id: ogg.c,v 1.
50 2003/12/15 23:31:11
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -324,6 +324,11 @@ static void Ogg_DecodePacket( input_thread_t *p_input,
}
p_stream
->
b_force_backup
=
0
;
p_stream
->
i_packets_backup
=
0
;
if
(
p_oggpacket
->
granulepos
>=
0
)
Ogg_UpdatePCR
(
p_stream
,
p_oggpacket
);
p_stream
->
i_previous_pcr
=
0
;
return
;
}
break
;
...
...
@@ -1085,7 +1090,8 @@ static void Ogg_EndOfStream( input_thread_t *p_input, demux_sys_t *p_ogg )
#define p_stream p_ogg->pp_stream[i_stream]
for
(
i_stream
=
0
;
i_stream
<
p_ogg
->
i_streams
;
i_stream
++
)
{
es_out_Del
(
p_input
->
p_es_out
,
p_stream
->
p_es
);
if
(
p_stream
->
p_es
)
es_out_Del
(
p_input
->
p_es_out
,
p_stream
->
p_es
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
p_input
->
stream
.
i_mux_rate
-=
(
p_stream
->
fmt
.
i_bitrate
/
(
8
*
50
));
...
...
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