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
49603672
Commit
49603672
authored
Oct 20, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/playlist/playlist.c: added a playlist var_Set( "intf-change" ).
parent
1414f630
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
src/playlist/playlist.c
src/playlist/playlist.c
+8
-12
No files found.
src/playlist/playlist.c
View file @
49603672
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* playlist.c : Playlist management functions
* playlist.c : Playlist management functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: playlist.c,v 1.6
0 2003/10/20 15:28:03 zorglub
Exp $
* $Id: playlist.c,v 1.6
1 2003/10/20 22:28:26 gbazin
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -756,6 +756,8 @@ static void ObjectGarbageCollector( playlist_t *p_playlist,
...
@@ -756,6 +756,8 @@ static void ObjectGarbageCollector( playlist_t *p_playlist,
static
void
RunThread
(
playlist_t
*
p_playlist
)
static
void
RunThread
(
playlist_t
*
p_playlist
)
{
{
vlc_object_t
*
p_obj
;
vlc_object_t
*
p_obj
;
vlc_value_t
val
;
vlc_bool_t
b_vout_destroyed
=
VLC_FALSE
;
/*we do vout garbage collector */
vlc_bool_t
b_vout_destroyed
=
VLC_FALSE
;
/*we do vout garbage collector */
mtime_t
i_vout_destroyed_date
=
0
;
mtime_t
i_vout_destroyed_date
=
0
;
...
@@ -787,7 +789,8 @@ static void RunThread ( playlist_t *p_playlist )
...
@@ -787,7 +789,8 @@ static void RunThread ( playlist_t *p_playlist )
/* Destroy input */
/* Destroy input */
input_DestroyThread
(
p_input
);
input_DestroyThread
(
p_input
);
/* Unlink current input (_after_ input_DestroyThread for vout garbage collector)*/
/* Unlink current input
* (_after_ input_DestroyThread for vout garbage collector) */
vlc_object_detach
(
p_input
);
vlc_object_detach
(
p_input
);
/* Destroy object */
/* Destroy object */
...
@@ -821,6 +824,9 @@ static void RunThread ( playlist_t *p_playlist )
...
@@ -821,6 +824,9 @@ static void RunThread ( playlist_t *p_playlist )
input_StopThread
(
p_playlist
->
p_input
);
input_StopThread
(
p_playlist
->
p_input
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_playlist
,
"intf-change"
,
val
);
continue
;
continue
;
}
}
else
if
(
p_playlist
->
p_input
->
stream
.
control
.
i_status
!=
INIT_S
)
else
if
(
p_playlist
->
p_input
->
stream
.
control
.
i_status
!=
INIT_S
)
...
@@ -1026,16 +1032,6 @@ static void PlayItem( playlist_t *p_playlist )
...
@@ -1026,16 +1032,6 @@ static void PlayItem( playlist_t *p_playlist )
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
);
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
);
}
}
/*****************************************************************************
* Poubellize: put an input thread in the trashcan
*****************************************************************************
* XXX: unused
*****************************************************************************/
static
void
Poubellize
(
playlist_t
*
p_playlist
,
input_thread_t
*
p_input
)
{
msg_Dbg
(
p_playlist
,
"poubellizing input %i
\n
"
,
p_input
->
i_object_id
);
}
/*****************************************************************************
/*****************************************************************************
* playlist_LoadFile: load a playlist file.
* playlist_LoadFile: load a playlist file.
****************************************************************************/
****************************************************************************/
...
...
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