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
c2861c61
Commit
c2861c61
authored
May 30, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access/alsa.c: Simplify demux loop.
(cherry picked from commit d3dd902828854d30b7b39c5e8147152ec6d63289)
parent
0198f5b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/access/alsa.c
modules/access/alsa.c
+2
-4
No files found.
modules/access/alsa.c
View file @
c2861c61
...
@@ -360,16 +360,14 @@ static int Demux( demux_t *p_demux )
...
@@ -360,16 +360,14 @@ static int Demux( demux_t *p_demux )
do
do
{
{
p_block
=
GrabAudio
(
p_demux
);
if
(
p_block
)
if
(
p_block
)
{
{
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
p_block
->
i_pts
);
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_es
,
p_block
);
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_es
,
p_block
);
p_block
=
NULL
;
p_block
=
NULL
;
}
}
p_block
=
GrabAudio
(
p_demux
);
if
(
p_block
)
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
p_block
->
i_pts
);
}
while
(
p_block
&&
p_sys
->
i_next_demux_date
>
0
&&
}
while
(
p_block
&&
p_sys
->
i_next_demux_date
>
0
&&
p_block
->
i_pts
<
p_sys
->
i_next_demux_date
);
p_block
->
i_pts
<
p_sys
->
i_next_demux_date
);
...
...
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