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
42b2536e
Commit
42b2536e
authored
May 14, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ffmpeg linking
parent
a7e16ca0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
modules/codec/ffmpeg/demux.c
modules/codec/ffmpeg/demux.c
+6
-9
No files found.
modules/codec/ffmpeg/demux.c
View file @
42b2536e
...
@@ -401,8 +401,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -401,8 +401,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_META
:
case
DEMUX_GET_META
:
{
{
vlc_meta_t
**
pp_meta
=
(
vlc_meta_t
**
)
va_arg
(
args
,
vlc_meta_t
**
);
vlc_meta_t
*
p_meta
=
(
vlc_meta_t
*
)
va_arg
(
args
,
vlc_meta_t
*
);
vlc_meta_t
*
meta
;
if
(
!
p_sys
->
ic
->
title
[
0
]
||
!
p_sys
->
ic
->
author
[
0
]
||
if
(
!
p_sys
->
ic
->
title
[
0
]
||
!
p_sys
->
ic
->
author
[
0
]
||
!
p_sys
->
ic
->
copyright
[
0
]
||
!
p_sys
->
ic
->
comment
[
0
]
||
!
p_sys
->
ic
->
copyright
[
0
]
||
!
p_sys
->
ic
->
comment
[
0
]
||
...
@@ -411,18 +410,16 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -411,18 +410,16 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
*
pp_meta
=
meta
=
vlc_meta_New
();
if
(
p_sys
->
ic
->
title
[
0
]
)
if
(
p_sys
->
ic
->
title
[
0
]
)
vlc_meta_
Add
(
meta
,
VLC_META_TITLE
,
p_sys
->
ic
->
title
);
vlc_meta_
SetTitle
(
p_meta
,
p_sys
->
ic
->
title
);
if
(
p_sys
->
ic
->
author
[
0
]
)
if
(
p_sys
->
ic
->
author
[
0
]
)
vlc_meta_
Add
(
meta
,
VLC_META_AUTHOR
,
p_sys
->
ic
->
author
);
vlc_meta_
SetAuthor
(
p_meta
,
p_sys
->
ic
->
author
);
if
(
p_sys
->
ic
->
copyright
[
0
]
)
if
(
p_sys
->
ic
->
copyright
[
0
]
)
vlc_meta_
Add
(
meta
,
VLC_META_COPYRIGHT
,
p_sys
->
ic
->
copyright
);
vlc_meta_
SetCopyright
(
p_meta
,
p_sys
->
ic
->
copyright
);
if
(
p_sys
->
ic
->
comment
[
0
]
)
if
(
p_sys
->
ic
->
comment
[
0
]
)
vlc_meta_
Add
(
meta
,
VLC_META_DESCRIPTION
,
p_sys
->
ic
->
comment
);
vlc_meta_
SetDescription
(
p_meta
,
p_sys
->
ic
->
comment
);
if
(
p_sys
->
ic
->
genre
[
0
]
)
if
(
p_sys
->
ic
->
genre
[
0
]
)
vlc_meta_
Add
(
meta
,
VLC_META_GENRE
,
p_sys
->
ic
->
genre
);
vlc_meta_
SetGenre
(
p_meta
,
p_sys
->
ic
->
genre
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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