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
3eec11db
Commit
3eec11db
authored
May 26, 2005
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* control/hotkeys.c: Automatically save playlist bookmarks.
parent
85d8f546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/control/hotkeys.c
modules/control/hotkeys.c
+4
-3
No files found.
modules/control/hotkeys.c
View file @
3eec11db
...
@@ -721,10 +721,11 @@ static void SetBookmark( intf_thread_t *p_intf, int i_num )
...
@@ -721,10 +721,11 @@ static void SetBookmark( intf_thread_t *p_intf, int i_num )
VLC_VAR_STRING
|
VLC_VAR_DOINHERIT
);
VLC_VAR_STRING
|
VLC_VAR_DOINHERIT
);
if
(
p_playlist
->
status
.
p_item
)
if
(
p_playlist
->
status
.
p_item
)
{
{
val
.
psz_string
=
strdup
(
p_playlist
->
status
.
p_item
->
input
.
psz_uri
);
config_PutPsz
(
p_intf
,
psz_bookmark_name
,
var_Set
(
p_intf
,
psz_bookmark_name
,
val
);
p_playlist
->
status
.
p_item
->
input
.
psz_uri
);
msg_Info
(
p_intf
,
"setting playlist bookmark %i to %s"
,
i_num
,
msg_Info
(
p_intf
,
"setting playlist bookmark %i to %s"
,
i_num
,
val
.
psz_string
);
p_playlist
->
status
.
p_item
->
input
.
psz_uri
);
config_SaveConfigFile
(
p_intf
,
"hotkeys"
);
}
}
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
}
...
...
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