Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
eacd6045
Commit
eacd6045
authored
Jun 25, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: support multiple tags
Call av_metadata_get() in a loop.
parent
637c6a18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
NEWS
NEWS
+2
-0
ffmpeg_plugin.c
src/decoder/ffmpeg_plugin.c
+3
-2
No files found.
NEWS
View file @
eacd6045
ver 0.16 (20??/??/??)
ver 0.16 (20??/??/??)
* decoders:
- ffmpeg: support multiple tags
* mixers:
* mixers:
- removed support for legacy mixer configuration
- removed support for legacy mixer configuration
* commands:
* commands:
...
...
src/decoder/ffmpeg_plugin.c
View file @
eacd6045
...
@@ -342,8 +342,9 @@ static void
...
@@ -342,8 +342,9 @@ static void
ffmpeg_copy_metadata
(
struct
tag
*
tag
,
AVMetadata
*
m
,
ffmpeg_copy_metadata
(
struct
tag
*
tag
,
AVMetadata
*
m
,
enum
tag_type
type
,
const
char
*
name
)
enum
tag_type
type
,
const
char
*
name
)
{
{
AVMetadataTag
*
mt
=
av_metadata_get
(
m
,
name
,
NULL
,
0
);
AVMetadataTag
*
mt
=
NULL
;
if
(
mt
!=
NULL
)
while
((
mt
=
av_metadata_get
(
m
,
name
,
mt
,
0
))
!=
NULL
)
tag_add_item
(
tag
,
type
,
mt
->
value
);
tag_add_item
(
tag
,
type
,
mt
->
value
);
}
}
#endif
#endif
...
...
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