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
74753c48
Commit
74753c48
authored
Apr 01, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mem leaks
parent
2bd41c43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+3
-0
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+1
-0
No files found.
modules/gui/wxwindows/playlist.cpp
View file @
74753c48
...
@@ -508,6 +508,8 @@ void Playlist::UpdateTreeItem( playlist_t *p_playlist, wxTreeItemId item )
...
@@ -508,6 +508,8 @@ void Playlist::UpdateTreeItem( playlist_t *p_playlist, wxTreeItemId item )
char
*
psz_author
=
vlc_input_item_GetInfo
(
&
p_item
->
input
,
char
*
psz_author
=
vlc_input_item_GetInfo
(
&
p_item
->
input
,
_
(
"Meta-information"
),
_
(
"Meta-information"
),
_
(
"Artist"
));
_
(
"Artist"
));
if
(
psz_author
==
NULL
)
return
;
char
psz_duration
[
MSTRTIME_MAX_SIZE
];
char
psz_duration
[
MSTRTIME_MAX_SIZE
];
mtime_t
dur
=
p_item
->
input
.
i_duration
;
mtime_t
dur
=
p_item
->
input
.
i_duration
;
...
@@ -527,6 +529,7 @@ void Playlist::UpdateTreeItem( playlist_t *p_playlist, wxTreeItemId item )
...
@@ -527,6 +529,7 @@ void Playlist::UpdateTreeItem( playlist_t *p_playlist, wxTreeItemId item )
msg
.
Printf
(
wxString
(
wxU
(
psz_author
))
+
wxT
(
" - "
)
+
msg
.
Printf
(
wxString
(
wxU
(
psz_author
))
+
wxT
(
" - "
)
+
wxString
(
wxU
(
p_item
->
input
.
psz_name
))
+
duration
);
wxString
(
wxU
(
p_item
->
input
.
psz_name
))
+
duration
);
}
}
free
(
psz_author
);
treectrl
->
SetItemText
(
item
,
msg
);
treectrl
->
SetItemText
(
item
,
msg
);
treectrl
->
SetItemImage
(
item
,
p_item
->
input
.
i_type
);
treectrl
->
SetItemImage
(
item
,
p_item
->
input
.
i_type
);
...
...
src/playlist/services_discovery.c
View file @
74753c48
...
@@ -102,6 +102,7 @@ int playlist_ServicesDiscoveryRemove( playlist_t * p_playlist,
...
@@ -102,6 +102,7 @@ int playlist_ServicesDiscoveryRemove( playlist_t * p_playlist,
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
p_sd
->
b_die
=
VLC_TRUE
;
p_sd
->
b_die
=
VLC_TRUE
;
vlc_thread_join
(
p_sd
);
vlc_thread_join
(
p_sd
);
free
(
p_sd
->
psz_module
);
module_Unneed
(
p_sd
,
p_sd
->
p_module
);
module_Unneed
(
p_sd
,
p_sd
->
p_module
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
vlc_object_destroy
(
p_sd
);
vlc_object_destroy
(
p_sd
);
...
...
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