Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2934a10f
Commit
2934a10f
authored
May 31, 2017
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: Print AVContentLightMetadata side data contents
parent
88521a75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ffprobe.c
ffprobe.c
+8
-0
No files found.
ffprobe.c
View file @
2934a10f
...
@@ -1913,6 +1913,10 @@ static void print_pkt_side_data(WriterContext *w,
...
@@ -1913,6 +1913,10 @@ static void print_pkt_side_data(WriterContext *w,
print_q
(
"min_luminance"
,
metadata
->
min_luminance
,
'/'
);
print_q
(
"min_luminance"
,
metadata
->
min_luminance
,
'/'
);
print_q
(
"max_luminance"
,
metadata
->
max_luminance
,
'/'
);
print_q
(
"max_luminance"
,
metadata
->
max_luminance
,
'/'
);
}
}
}
else
if
(
sd
->
type
==
AV_PKT_DATA_CONTENT_LIGHT_LEVEL
)
{
AVContentLightMetadata
*
metadata
=
(
AVContentLightMetadata
*
)
sd
->
data
;
print_int
(
"max_content"
,
metadata
->
MaxCLL
);
print_int
(
"max_average"
,
metadata
->
MaxFALL
);
}
}
writer_print_section_footer
(
w
);
writer_print_section_footer
(
w
);
}
}
...
@@ -2155,6 +2159,10 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
...
@@ -2155,6 +2159,10 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
print_q
(
"min_luminance"
,
metadata
->
min_luminance
,
'/'
);
print_q
(
"min_luminance"
,
metadata
->
min_luminance
,
'/'
);
print_q
(
"max_luminance"
,
metadata
->
max_luminance
,
'/'
);
print_q
(
"max_luminance"
,
metadata
->
max_luminance
,
'/'
);
}
}
}
else
if
(
sd
->
type
==
AV_FRAME_DATA_CONTENT_LIGHT_LEVEL
)
{
AVContentLightMetadata
*
metadata
=
(
AVContentLightMetadata
*
)
sd
->
data
;
print_int
(
"max_content"
,
metadata
->
MaxCLL
);
print_int
(
"max_average"
,
metadata
->
MaxFALL
);
}
}
writer_print_section_footer
(
w
);
writer_print_section_footer
(
w
);
}
}
...
...
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