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
9a86226f
Commit
9a86226f
authored
Nov 20, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
1d67fa1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/input/input.c
src/input/input.c
+3
-5
No files found.
src/input/input.c
View file @
9a86226f
...
@@ -156,7 +156,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -156,7 +156,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
msg_Dbg
(
p_input
,
"Creating an input for '%s'"
,
psz_name
);
msg_Dbg
(
p_input
,
"Creating an input for '%s'"
,
psz_name
);
free
(
psz_name
);
free
(
psz_name
);
psz_name
=
NULL
;
/* Start a timer to mesure how long it takes
/* Start a timer to mesure how long it takes
* to launch an input */
* to launch an input */
...
@@ -1766,12 +1765,12 @@ static bool Control( input_thread_t *p_input, int i_type,
...
@@ -1766,12 +1765,12 @@ static bool Control( input_thread_t *p_input, int i_type,
}
}
}
}
if
(
(
i_rate
<
0
)
&&
p_input
->
p
->
input
.
b_rescale_ts
)
if
(
i_rate
<
0
&&
p_input
->
p
->
input
.
b_rescale_ts
)
{
{
msg_Dbg
(
p_input
,
"cannot set negative rate"
);
msg_Dbg
(
p_input
,
"cannot set negative rate"
);
i_rate
=
INPUT_RATE_MIN
;
i_rate
=
INPUT_RATE_MIN
;
}
}
else
if
(
(
i_rate
>
0
)
&&
(
i_rate
<
INPUT_RATE_MIN
)
)
else
if
(
i_rate
>
0
&&
i_rate
<
INPUT_RATE_MIN
)
{
{
msg_Dbg
(
p_input
,
"cannot set rate faster"
);
msg_Dbg
(
p_input
,
"cannot set rate faster"
);
i_rate
=
INPUT_RATE_MIN
;
i_rate
=
INPUT_RATE_MIN
;
...
@@ -1782,8 +1781,7 @@ static bool Control( input_thread_t *p_input, int i_type,
...
@@ -1782,8 +1781,7 @@ static bool Control( input_thread_t *p_input, int i_type,
i_rate
=
INPUT_RATE_MAX
;
i_rate
=
INPUT_RATE_MAX
;
}
}
if
(
i_rate
!=
INPUT_RATE_DEFAULT
&&
if
(
i_rate
!=
INPUT_RATE_DEFAULT
&&
(
/*( !p_input->b_can_pace_control && !p_input->p->b_can_rate_control ) ||*/
(
(
!
p_input
->
p
->
b_can_rate_control
&&
!
p_input
->
p
->
input
.
b_rescale_ts
)
||
(
!
p_input
->
p
->
b_can_rate_control
&&
!
p_input
->
p
->
input
.
b_rescale_ts
)
||
(
p_input
->
p
->
p_sout
&&
!
p_input
->
p
->
b_out_pace_control
)
)
)
(
p_input
->
p
->
p_sout
&&
!
p_input
->
p
->
b_out_pace_control
)
)
)
{
{
msg_Dbg
(
p_input
,
"cannot change rate"
);
msg_Dbg
(
p_input
,
"cannot change rate"
);
...
...
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