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
c691d369
Commit
c691d369
authored
Apr 27, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed b_out_pace_control value when using record.
parent
cbe863f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
src/input/decoder.c
src/input/decoder.c
+0
-14
src/input/es_out.c
src/input/es_out.c
+18
-0
No files found.
src/input/decoder.c
View file @
c691d369
...
@@ -1744,20 +1744,6 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
...
@@ -1744,20 +1744,6 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
p_sout_block
=
p_next
;
p_sout_block
=
p_next
;
}
}
/* For now it's enough, as only sout impact on this flag */
if
(
p_owner
->
p_sout
->
i_out_pace_nocontrol
>
0
&&
p_owner
->
p_input
->
p
->
b_out_pace_control
)
{
msg_Dbg
(
p_dec
,
"switching to sync mode"
);
p_owner
->
p_input
->
p
->
b_out_pace_control
=
false
;
}
else
if
(
p_owner
->
p_sout
->
i_out_pace_nocontrol
<=
0
&&
!
p_owner
->
p_input
->
p
->
b_out_pace_control
)
{
msg_Dbg
(
p_dec
,
"switching to async mode"
);
p_owner
->
p_input
->
p
->
b_out_pace_control
=
true
;
}
}
}
}
}
...
...
src/input/es_out.c
View file @
c691d369
...
@@ -1874,6 +1874,24 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
...
@@ -1874,6 +1874,24 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/* Check for sout mode */
if
(
out
->
b_sout
)
{
/* FIXME review this, proper lock may be missing */
if
(
p_input
->
p
->
p_sout
->
i_out_pace_nocontrol
>
0
&&
p_input
->
p
->
b_out_pace_control
)
{
msg_Dbg
(
p_input
,
"switching to sync mode"
);
p_input
->
p
->
b_out_pace_control
=
false
;
}
else
if
(
p_input
->
p
->
p_sout
->
i_out_pace_nocontrol
<=
0
&&
!
p_input
->
p
->
b_out_pace_control
)
{
msg_Dbg
(
p_input
,
"switching to async mode"
);
p_input
->
p
->
b_out_pace_control
=
true
;
}
}
/* Decode */
/* Decode */
if
(
es
->
p_dec_record
)
if
(
es
->
p_dec_record
)
{
{
...
...
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