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
bf8c4fd1
Commit
bf8c4fd1
authored
Mar 10, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_media_player_set_rate: Allow for changing playout rate.
This fixes a regression introduced in commit:
75adef44
parent
f207e101
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/control/media_player.c
src/control/media_player.c
+2
-5
No files found.
src/control/media_player.c
View file @
bf8c4fd1
...
...
@@ -1097,15 +1097,12 @@ void libvlc_media_player_set_rate(
vlc_value_t
val
;
bool
b_can_rewind
;
if
(
rate
!=
0
)
RAISEVOID
(
"Rate value is invalid"
);
p_input_thread
=
libvlc_get_input_thread
(
p_mi
,
p_e
);
p_input_thread
=
libvlc_get_input_thread
(
p_mi
,
p_e
);
if
(
!
p_input_thread
)
return
;
b_can_rewind
=
var_GetBool
(
p_input_thread
,
"can-rewind"
);
if
(
(
rate
<
0
)
&&
!
b_can_rewind
)
if
(
(
rate
<
0
.
0
)
&&
!
b_can_rewind
)
{
vlc_object_release
(
p_input_thread
);
libvlc_exception_raise
(
p_e
,
"Rate value is invalid"
);
...
...
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