Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
dbaaa2cb
Commit
dbaaa2cb
authored
Feb 16, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix setting the name and the author with DEMUX_GET_META
parent
98529c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/input/input.c
src/input/input.c
+10
-1
No files found.
src/input/input.c
View file @
dbaaa2cb
...
...
@@ -4,7 +4,7 @@
* decoders.
*****************************************************************************
* Copyright (C) 1998-2004 VideoLAN
* $Id: input.c,v 1.2
89 2004/02/11 19:17:14 fenrir
Exp $
* $Id: input.c,v 1.2
90 2004/02/16 17:14:15 zorglub
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -833,6 +833,15 @@ static int InitThread( input_thread_t * p_input )
for
(
i
=
0
;
i
<
meta
->
i_meta
;
i
++
)
{
msg_Dbg
(
p_input
,
" - '%s' = '%s'"
,
_
(
meta
->
name
[
i
]),
meta
->
value
[
i
]
);
if
(
!
strcmp
(
meta
->
name
[
i
],
VLC_META_TITLE
)
)
{
playlist_ItemSetName
(
p_item
,
meta
->
value
[
i
]
);
}
if
(
!
strcmp
(
meta
->
name
[
i
],
VLC_META_AUTHOR
)
)
{
playlist_ItemAddInfo
(
p_item
,
_
(
"General"
),
_
(
"Author"
),
meta
->
value
[
i
]
);
}
input_AddInfo
(
p_cat
,
_
(
meta
->
name
[
i
]),
"%s"
,
meta
->
value
[
i
]
);
if
(
p_item
)
{
...
...
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