Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
7cb79b9f
Commit
7cb79b9f
authored
Feb 08, 2001
by
Renaud Dartus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics changes
parent
40c292e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
plugins/sdl/intf_sdl.c
plugins/sdl/intf_sdl.c
+9
-9
No files found.
plugins/sdl/intf_sdl.c
View file @
7cb79b9f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* intf_sdl.c: SDL interface plugin
* intf_sdl.c: SDL interface plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: intf_sdl.c,v 1.2
8 2001/02/08 00:46:12
reno Exp $
* $Id: intf_sdl.c,v 1.2
9 2001/02/08 01:06:11
reno Exp $
*
*
* Authors:
* Authors:
*
*
...
@@ -149,19 +149,19 @@ void intf_SDLManage( intf_thread_t *p_intf )
...
@@ -149,19 +149,19 @@ void intf_SDLManage( intf_thread_t *p_intf )
break
;
break
;
case
SDLK_a
:
case
SDLK_a
:
i_rate
=
p_intf
->
p_input
->
stream
.
control
.
i_rate
;
i_rate
=
p_intf
->
p_input
->
stream
.
control
.
i_rate
/
2
;
if
(
i_rate
/
2
>=
MINIMAL_RATE
)
if
(
i_rate
>=
MINIMAL_RATE
)
input_Forward
(
p_intf
->
p_input
,
i_rate
/
2
);
input_Forward
(
p_intf
->
p_input
,
i_rate
);
break
;
break
;
case
SDLK_s
:
case
SDLK_s
:
i_rate
=
p_intf
->
p_input
->
stream
.
control
.
i_rate
;
i_rate
=
p_intf
->
p_input
->
stream
.
control
.
i_rate
*
2
;
if
(
i_rate
*
2
<=
MAXIMAL_RATE
)
if
(
i_rate
<=
MAXIMAL_RATE
)
{
{
/* Compensation of int truncature */
/* Compensation of int truncature */
if
(
i_rate
*
2
>
500
&&
i_rate
*
2
<
1000
)
if
(
i_rate
>
500
&&
i_rate
<
1000
)
i_rate
=
1000
/
2
;
i_rate
=
1000
;
input_Forward
(
p_intf
->
p_input
,
i_rate
*
2
);
input_Forward
(
p_intf
->
p_input
,
i_rate
);
}
}
break
;
break
;
...
...
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