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
9e2ad075
Commit
9e2ad075
authored
Oct 20, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix one potential refcount problem
parent
4aa55602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/control/rc.c
modules/control/rc.c
+2
-7
No files found.
modules/control/rc.c
View file @
9e2ad075
...
...
@@ -1088,7 +1088,6 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
{
val
.
i_int
=
config_GetInt
(
p_intf
,
"key-jump+3sec"
);
var_Set
(
p_intf
->
p_vlc
,
"key-pressed"
,
val
);
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
}
...
...
@@ -1096,14 +1095,12 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
{
val
.
i_int
=
config_GetInt
(
p_intf
,
"key-jump-3sec"
);
var_Set
(
p_intf
->
p_vlc
,
"key-pressed"
,
val
);
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
}
else
if
(
!
strcmp
(
psz_cmd
,
"faster"
)
)
{
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_input
,
"rate-faster"
,
val
);
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
...
...
@@ -1111,7 +1108,6 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
else
if
(
!
strcmp
(
psz_cmd
,
"slower"
)
)
{
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_input
,
"rate-slower"
,
val
);
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
...
...
@@ -1119,7 +1115,6 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
else
if
(
!
strcmp
(
psz_cmd
,
"normal"
)
)
{
val
.
i_int
=
INPUT_RATE_DEFAULT
;
var_Set
(
p_input
,
"rate"
,
val
);
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
...
...
@@ -1160,7 +1155,6 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_input
,
"prev-chapter"
,
val
);
}
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
}
...
...
@@ -1206,6 +1200,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
}
/* Never reached. */
vlc_object_release
(
p_input
);
return
VLC_EGENERIC
;
}
...
...
@@ -1309,7 +1304,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
/* Replay the current state of the system. */
msg_rc
(
STATUS_CHANGE
"( New input: %s )"
,
p_playlist
->
p_input
->
input
.
p_item
->
psz_uri
);
msg_rc
(
STATUS_CHANGE
"( audio volume: %d )"
,
config_GetInt
(
p_intf
,
"volume"
));
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
switch
(
p_playlist
->
status
.
i_status
)
{
...
...
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