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
3f9ebd2f
Commit
3f9ebd2f
authored
Aug 15, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input item: simplify copying title from meta
parent
eb52ecee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
src/input/es_out.c
src/input/es_out.c
+3
-10
No files found.
src/input/es_out.c
View file @
3f9ebd2f
...
...
@@ -1347,17 +1347,15 @@ static void EsOutMeta( es_out_t *p_out, const vlc_meta_t *p_meta )
{
es_out_sys_t
*
p_sys
=
p_out
->
p_sys
;
input_thread_t
*
p_input
=
p_sys
->
p_input
;
input_item_t
*
p_item
=
input_GetItem
(
p_input
);
char
*
psz_title
=
NULL
;
if
(
vlc_meta_Get
(
p_meta
,
vlc_meta_Title
)
!=
NULL
)
input_item_SetName
(
p_item
,
vlc_meta_Get
(
p_meta
,
vlc_meta_Title
)
);
char
*
psz_arturl
=
input_item_GetArtURL
(
p_item
);
vlc_mutex_lock
(
&
p_item
->
lock
);
if
(
vlc_meta_Get
(
p_meta
,
vlc_meta_Title
)
)
psz_title
=
strdup
(
vlc_meta_Get
(
p_meta
,
vlc_meta_Title
)
);
vlc_meta_Merge
(
p_item
->
p_meta
,
p_meta
);
if
(
!
psz_arturl
||
*
psz_arturl
==
'\0'
)
...
...
@@ -1384,11 +1382,6 @@ static void EsOutMeta( es_out_t *p_out, const vlc_meta_t *p_meta )
}
free
(
psz_arturl
);
if
(
psz_title
)
{
input_item_SetName
(
p_item
,
psz_title
);
free
(
psz_title
);
}
input_item_SetPreparsed
(
p_item
,
true
);
input_SendEventMeta
(
p_input
);
...
...
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