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
621b141d
Commit
621b141d
authored
Oct 02, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: sets the parent node when selecting an item. fix playing from media library.
parent
c4a29432
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/ncurses.c
modules/gui/ncurses.c
+4
-4
No files found.
modules/gui/ncurses.c
View file @
621b141d
...
...
@@ -62,7 +62,7 @@
#ifdef HAVE_VCDX
#define VCD_MRL "vcdx://"
#else
#define VCD_MRL "vcd
x
://"
#define VCD_MRL "vcd://"
#endif
#define SEARCH_CHAIN_SIZE 20
...
...
@@ -163,7 +163,6 @@ struct intf_sys_t
int
i_box_plidx
;
/* Playlist index */
int
b_box_plidx_follow
;
playlist_item_t
*
p_plnode
;
/* Playlist node */
int
i_box_bidx
;
/* browser index */
int
b_box_cleared
;
...
...
@@ -216,7 +215,6 @@ static int Open( vlc_object_t *p_this )
p_sys
->
b_box_plidx_follow
=
VLC_TRUE
;
p_sys
->
b_box_cleared
=
VLC_FALSE
;
p_sys
->
i_box_plidx
=
0
;
p_sys
->
p_plnode
=
NULL
;
p_sys
->
i_box_bidx
=
0
;
p_sys
->
p_sub
=
msg_Subscribe
(
p_intf
,
MSG_QUEUE_NORMAL
);
memset
(
p_sys
->
psz_partial_keys
,
0
,
sizeof
(
p_sys
->
psz_partial_keys
)
);
...
...
@@ -584,8 +582,10 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
if
(
p_sys
->
pp_plist
[
p_sys
->
i_box_plidx
]
->
p_item
->
i_children
==
-
1
)
{
playlist_item_t
*
p_item
=
p_sys
->
pp_plist
[
p_sys
->
i_box_plidx
]
->
p_item
;
playlist_Control
(
p_sys
->
p_playlist
,
PLAYLIST_VIEWPLAY
,
VLC_TRUE
,
NULL
,
VLC_TRUE
,
p_item
->
p_parent
,
p_sys
->
pp_plist
[
p_sys
->
i_box_plidx
]
->
p_item
);
}
else
...
...
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