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
ef2723ee
Commit
ef2723ee
authored
Jun 17, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call input_Control(INPUT_ADD_INFO) on extra meta data.
parent
8e3c06e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
src/input/input.c
src/input/input.c
+17
-0
No files found.
src/input/input.c
View file @
ef2723ee
...
@@ -2499,6 +2499,7 @@ static void InputUpdateMeta( input_thread_t *p_input, vlc_meta_t *p_meta )
...
@@ -2499,6 +2499,7 @@ static void InputUpdateMeta( input_thread_t *p_input, vlc_meta_t *p_meta )
{
{
input_item_t
*
p_item
=
p_input
->
p
->
input
.
p_item
;
input_item_t
*
p_item
=
p_input
->
p
->
input
.
p_item
;
char
*
psz_title
=
NULL
;
char
*
psz_title
=
NULL
;
int
i
;
if
(
!
p_meta
)
if
(
!
p_meta
)
return
;
return
;
...
@@ -2534,6 +2535,14 @@ static void InputUpdateMeta( input_thread_t *p_input, vlc_meta_t *p_meta )
...
@@ -2534,6 +2535,14 @@ static void InputUpdateMeta( input_thread_t *p_input, vlc_meta_t *p_meta )
}
}
p_item
->
p_meta
->
i_status
|=
ITEM_PREPARSED
;
p_item
->
p_meta
->
i_status
|=
ITEM_PREPARSED
;
/* A bit ugly */
p_meta
=
NULL
;
if
(
p_item
->
p_meta
->
i_extra
>
0
)
{
p_meta
=
vlc_meta_New
();
vlc_meta_Merge
(
p_meta
,
p_item
->
p_meta
);
}
vlc_mutex_unlock
(
&
p_item
->
lock
);
vlc_mutex_unlock
(
&
p_item
->
lock
);
if
(
psz_title
)
if
(
psz_title
)
...
@@ -2542,6 +2551,14 @@ static void InputUpdateMeta( input_thread_t *p_input, vlc_meta_t *p_meta )
...
@@ -2542,6 +2551,14 @@ static void InputUpdateMeta( input_thread_t *p_input, vlc_meta_t *p_meta )
free
(
psz_title
);
free
(
psz_title
);
}
}
if
(
p_meta
)
{
for
(
i
=
0
;
i
<
p_meta
->
i_extra
;
i
++
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
_
(
VLC_META_INFO_CAT
),
_
(
p_meta
->
ppsz_extra_name
[
i
]),
"%s"
,
p_meta
->
ppsz_extra_value
[
i
]
);
vlc_meta_Delete
(
p_meta
);
}
/** \todo handle sout meta */
/** \todo handle sout meta */
}
}
...
...
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