Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
a2c00d22
Commit
a2c00d22
authored
10 years ago
by
Vittorio Giovara
Browse files
Options
Downloads
Patches
Plain Diff
avprobe: print color properties for show_streams
parent
147f2e91
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
avprobe.c
+6
-0
6 additions, 0 deletions
avprobe.c
with
6 additions
and
0 deletions
avprobe.c
+
6
−
0
View file @
a2c00d22
...
...
@@ -623,6 +623,12 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
desc
=
av_pix_fmt_desc_get
(
dec_ctx
->
pix_fmt
);
probe_str
(
"pix_fmt"
,
desc
?
desc
->
name
:
"unknown"
);
probe_int
(
"level"
,
dec_ctx
->
level
);
probe_str
(
"color_range"
,
av_color_range_name
(
dec_ctx
->
color_range
));
probe_str
(
"color_space"
,
av_color_space_name
(
dec_ctx
->
colorspace
));
probe_str
(
"color_trc"
,
av_color_transfer_name
(
dec_ctx
->
color_trc
));
probe_str
(
"color_pri"
,
av_color_primaries_name
(
dec_ctx
->
color_primaries
));
probe_str
(
"chroma_loc"
,
av_chroma_location_name
(
dec_ctx
->
chroma_sample_location
));
break
;
case
AVMEDIA_TYPE_AUDIO
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment