Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
4fac715a
Commit
4fac715a
authored
Dec 13, 2003
by
Cyril Deguet
Browse files
* src/playlist/sort.c: set "intf-change" after sorting the playlist
parent
d3de6466
Changes
1
Show whitespace changes
Inline
Side-by-side
src/playlist/sort.c
View file @
4fac715a
...
...
@@ -2,7 +2,7 @@
* sort.c : Playlist sorting functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: sort.c,v 1.
2
2003/1
1/26
1
0
:4
5:21 zorglub
Exp $
* $Id: sort.c,v 1.
3
2003/1
2/13
1
7
:4
6:07 asmax
Exp $
*
* Authors: Clment Stenac <zorglub@videolan.org>
*
...
...
@@ -41,6 +41,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
{
int
i
,
i_small
,
i_position
;
playlist_item_t
*
p_temp
;
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
...
...
@@ -62,6 +64,9 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
/* Notify the interfaces (XXX: use a different variable) */
var_Set
(
p_playlist
,
"intf-change"
,
val
);
return
0
;
}
...
...
@@ -106,5 +111,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
/* Notify the interfaces (XXX: use a different variable) */
var_Set
(
p_playlist
,
"intf-change"
,
val
);
return
0
;
}
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