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
f359c8f7
Commit
f359c8f7
authored
Dec 03, 2003
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in not updating playlist when hitting next/previous control
buttons (and simplify code at the same time).
parent
b642af72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+7
-13
No files found.
modules/gui/wxwindows/interface.cpp
View file @
f359c8f7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* interface.cpp : wxWindows plugin for vlc
* interface.cpp : wxWindows plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001,2003 VideoLAN
* Copyright (C) 2000-2001,2003 VideoLAN
* $Id: interface.cpp,v 1.7
3 2003/12/03 00:24:16
rocky Exp $
* $Id: interface.cpp,v 1.7
4 2003/12/03 04:19:59
rocky Exp $
*
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
*
...
@@ -1204,13 +1204,10 @@ void Interface::OnPrevStream( wxCommandEvent& WXUNUSED(event) )
...
@@ -1204,13 +1204,10 @@ void Interface::OnPrevStream( wxCommandEvent& WXUNUSED(event) )
if
(
p_playlist
->
p_input
->
stream
.
p_selected_area
->
i_id
>
1
)
if
(
p_playlist
->
p_input
->
stream
.
p_selected_area
->
i_id
>
1
)
{
{
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
var_Set
(
p_playlist
->
p_input
,
"prev-title"
,
val
);
var_Set
(
p_playlist
->
p_input
,
"prev-title"
,
val
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
}
else
vlc_object_release
(
p_playlist
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
return
;
}
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
}
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
@@ -1237,13 +1234,10 @@ void Interface::OnNextStream( wxCommandEvent& WXUNUSED(event) )
...
@@ -1237,13 +1234,10 @@ void Interface::OnNextStream( wxCommandEvent& WXUNUSED(event) )
p_playlist
->
p_input
->
stream
.
i_area_nb
-
1
)
p_playlist
->
p_input
->
stream
.
i_area_nb
-
1
)
{
{
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
var_Set
(
p_playlist
->
p_input
,
"next-title"
,
val
);
var_Set
(
p_playlist
->
p_input
,
"next-title"
,
val
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
}
else
vlc_object_release
(
p_playlist
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
return
;
}
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
}
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
...
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