Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ecf04969
Commit
ecf04969
authored
Nov 26, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/ogg.c: audio is now dropped when fast-forwarding.
parent
6fd31613
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
modules/demux/ogg.c
modules/demux/ogg.c
+10
-3
No files found.
modules/demux/ogg.c
View file @
ecf04969
...
...
@@ -2,7 +2,7 @@
* ogg.c : ogg stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: ogg.c,v 1.1
2 2002/11/21 10:12:34
gbazin Exp $
* $Id: ogg.c,v 1.1
3 2002/11/26 17:38:33
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -356,7 +356,7 @@ static void Ogg_DecodePacket( input_thread_t *p_input,
{
pes_packet_t
*
p_pes
;
data_packet_t
*
p_data
;
//demux_sys_t *p_ogg = p_input->p_demux_data
;
vlc_bool_t
b_trash
=
VLC_FALSE
;
int
i_header_len
=
0
;
if
(
p_stream
->
b_force_backup
)
...
...
@@ -390,7 +390,14 @@ static void Ogg_DecodePacket( input_thread_t *p_input,
}
}
if
(
!
p_stream
->
p_es
->
p_decoder_fifo
)
vlc_mutex_lock
(
&
p_input
->
stream
.
control
.
control_lock
);
if
(
p_stream
->
i_cat
==
AUDIO_ES
&&
p_input
->
stream
.
control
.
b_mute
)
{
b_trash
=
VLC_TRUE
;
}
vlc_mutex_unlock
(
&
p_input
->
stream
.
control
.
control_lock
);
if
(
!
p_stream
->
p_es
->
p_decoder_fifo
||
b_trash
)
{
/* This stream isn't currently selected so we don't need to decode it,
* but we do need to store its pcr as it might be selected later on. */
...
...
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