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
5e3f3b04
Commit
5e3f3b04
authored
Dec 10, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/ffpmeg: rename functions to CamelCase
parent
923c402f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+2
-2
FfmpegMetaData.cxx
src/decoder/plugins/FfmpegMetaData.cxx
+6
-6
FfmpegMetaData.hxx
src/decoder/plugins/FfmpegMetaData.hxx
+1
-1
No files found.
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
5e3f3b04
...
...
@@ -711,10 +711,10 @@ ffmpeg_scan_stream(InputStream &is,
tag_handler_invoke_duration
(
handler
,
handler_ctx
,
duration
);
}
ffmpeg_scan_d
ictionary
(
f
->
metadata
,
handler
,
handler_ctx
);
FfmpegScanD
ictionary
(
f
->
metadata
,
handler
,
handler_ctx
);
int
idx
=
ffmpeg_find_audio_stream
(
*
f
);
if
(
idx
>=
0
)
ffmpeg_scan_d
ictionary
(
f
->
streams
[
idx
]
->
metadata
,
FfmpegScanD
ictionary
(
f
->
streams
[
idx
]
->
metadata
,
handler
,
handler_ctx
);
avformat_close_input
(
&
f
);
...
...
src/decoder/plugins/FfmpegMetaData.cxx
View file @
5e3f3b04
...
...
@@ -36,7 +36,7 @@ static const struct tag_table ffmpeg_tags[] = {
};
static
void
ffmpeg_copy_metadata
(
TagType
type
,
FfmpegScanTag
(
TagType
type
,
AVDictionary
*
m
,
const
char
*
name
,
const
struct
tag_handler
*
handler
,
void
*
handler_ctx
)
{
...
...
@@ -48,7 +48,7 @@ ffmpeg_copy_metadata(TagType type,
}
static
void
ffmpeg_scan_p
airs
(
AVDictionary
*
dict
,
FfmpegScanP
airs
(
AVDictionary
*
dict
,
const
struct
tag_handler
*
handler
,
void
*
handler_ctx
)
{
AVDictionaryEntry
*
i
=
nullptr
;
...
...
@@ -59,20 +59,20 @@ ffmpeg_scan_pairs(AVDictionary *dict,
}
void
ffmpeg_scan_d
ictionary
(
AVDictionary
*
dict
,
FfmpegScanD
ictionary
(
AVDictionary
*
dict
,
const
struct
tag_handler
*
handler
,
void
*
handler_ctx
)
{
if
(
handler
->
tag
!=
nullptr
)
{
for
(
unsigned
i
=
0
;
i
<
TAG_NUM_OF_ITEM_TYPES
;
++
i
)
ffmpeg_copy_metadata
(
TagType
(
i
),
dict
,
tag_item_names
[
i
],
FfmpegScanTag
(
TagType
(
i
),
dict
,
tag_item_names
[
i
],
handler
,
handler_ctx
);
for
(
const
struct
tag_table
*
i
=
ffmpeg_tags
;
i
->
name
!=
nullptr
;
++
i
)
ffmpeg_copy_metadata
(
i
->
type
,
dict
,
i
->
name
,
FfmpegScanTag
(
i
->
type
,
dict
,
i
->
name
,
handler
,
handler_ctx
);
}
if
(
handler
->
pair
!=
nullptr
)
ffmpeg_scan_p
airs
(
dict
,
handler
,
handler_ctx
);
FfmpegScanP
airs
(
dict
,
handler
,
handler_ctx
);
}
src/decoder/plugins/FfmpegMetaData.hxx
View file @
5e3f3b04
...
...
@@ -32,7 +32,7 @@ extern "C" {
struct
tag_handler
;
void
ffmpeg_scan_d
ictionary
(
AVDictionary
*
dict
,
FfmpegScanD
ictionary
(
AVDictionary
*
dict
,
const
tag_handler
*
handler
,
void
*
handler_ctx
);
#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