Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
4fac715a
Commit
4fac715a
authored
Dec 13, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/playlist/sort.c: set "intf-change" after sorting the playlist
parent
d3de6466
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/playlist/sort.c
src/playlist/sort.c
+9
-1
No files found.
src/playlist/sort.c
View file @
4fac715a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* sort.c : Playlist sorting functions
* sort.c : Playlist sorting functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: sort.c,v 1.
2 2003/11/26 10:45:21 zorglub
Exp $
* $Id: sort.c,v 1.
3 2003/12/13 17:46:07 asmax
Exp $
*
*
* Authors: Clment Stenac <zorglub@videolan.org>
* Authors: Clment Stenac <zorglub@videolan.org>
*
*
...
@@ -41,6 +41,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
...
@@ -41,6 +41,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
{
{
int
i
,
i_small
,
i_position
;
int
i
,
i_small
,
i_position
;
playlist_item_t
*
p_temp
;
playlist_item_t
*
p_temp
;
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
...
@@ -62,6 +64,9 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
...
@@ -62,6 +64,9 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
}
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
/* Notify the interfaces (XXX: use a different variable) */
var_Set
(
p_playlist
,
"intf-change"
,
val
);
return
0
;
return
0
;
}
}
...
@@ -106,5 +111,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
...
@@ -106,5 +111,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
}
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
/* Notify the interfaces (XXX: use a different variable) */
var_Set
(
p_playlist
,
"intf-change"
,
val
);
return
0
;
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