Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
3c33c0e2
Commit
3c33c0e2
authored
Feb 12, 2011
by
Anssi Hannula
Committed by
Janne Grunau
Feb 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: print stream disposition in dump_stream_format
Signed-off-by:
Janne Grunau
<
janne-ffmpeg@jannau.net
>
parent
57f2c9ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
utils.c
libavformat/utils.c
+18
-0
No files found.
libavformat/utils.c
View file @
3c33c0e2
...
@@ -3237,6 +3237,24 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out
...
@@ -3237,6 +3237,24 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out
if
(
st
->
codec
->
time_base
.
den
&&
st
->
codec
->
time_base
.
num
)
if
(
st
->
codec
->
time_base
.
den
&&
st
->
codec
->
time_base
.
num
)
print_fps
(
1
/
av_q2d
(
st
->
codec
->
time_base
),
"tbc"
);
print_fps
(
1
/
av_q2d
(
st
->
codec
->
time_base
),
"tbc"
);
}
}
if
(
st
->
disposition
&
AV_DISPOSITION_DEFAULT
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (default)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_DUB
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (dub)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_ORIGINAL
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (original)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_COMMENT
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (comment)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_LYRICS
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (lyrics)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_KARAOKE
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (karaoke)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_FORCED
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (forced)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_HEARING_IMPAIRED
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (hearing impaired)"
);
if
(
st
->
disposition
&
AV_DISPOSITION_VISUAL_IMPAIRED
)
av_log
(
NULL
,
AV_LOG_INFO
,
" (visual impaired)"
);
av_log
(
NULL
,
AV_LOG_INFO
,
"
\n
"
);
av_log
(
NULL
,
AV_LOG_INFO
,
"
\n
"
);
dump_metadata
(
NULL
,
st
->
metadata
,
" "
);
dump_metadata
(
NULL
,
st
->
metadata
,
" "
);
}
}
...
...
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