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
02b4ae04
Commit
02b4ae04
authored
12 years ago
by
Stefano Sabatini
Browse files
Options
Downloads
Patches
Plain Diff
ffmpeg: print debug_ts off and off_time values with timestamp helper routines
parent
e41b5185
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
ffmpeg.c
+6
-4
6 additions, 4 deletions
ffmpeg.c
with
6 additions
and
4 deletions
ffmpeg.c
+
6
−
4
View file @
02b4ae04
...
...
@@ -2752,13 +2752,14 @@ static int process_input(int file_index)
if
(
debug_ts
)
{
av_log
(
NULL
,
AV_LOG_INFO
,
"demuxer -> ist_index:%d type:%s "
"next_dts:%s next_dts_time:%s next_pts:%s next_pts_time:%s pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s off:%
"
PRId64
"
\n
"
,
"next_dts:%s next_dts_time:%s next_pts:%s next_pts_time:%s pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s off:%
s off_time:%s
\n
"
,
ifile
->
ist_index
+
pkt
.
stream_index
,
av_get_media_type_string
(
ist
->
st
->
codec
->
codec_type
),
av_ts2str
(
ist
->
next_dts
),
av_ts2timestr
(
ist
->
next_dts
,
&
AV_TIME_BASE_Q
),
av_ts2str
(
ist
->
next_pts
),
av_ts2timestr
(
ist
->
next_pts
,
&
AV_TIME_BASE_Q
),
av_ts2str
(
pkt
.
pts
),
av_ts2timestr
(
pkt
.
pts
,
&
ist
->
st
->
time_base
),
av_ts2str
(
pkt
.
dts
),
av_ts2timestr
(
pkt
.
dts
,
&
ist
->
st
->
time_base
),
input_files
[
ist
->
file_index
]
->
ts_offset
);
av_ts2str
(
input_files
[
ist
->
file_index
]
->
ts_offset
),
av_ts2timestr
(
input_files
[
ist
->
file_index
]
->
ts_offset
,
&
AV_TIME_BASE_Q
));
}
if
(
!
ist
->
wrap_correction_done
&&
input_files
[
file_index
]
->
ctx
->
start_time
!=
AV_NOPTS_VALUE
&&
ist
->
st
->
pts_wrap_bits
<
64
){
...
...
@@ -2824,11 +2825,12 @@ static int process_input(int file_index)
}
if
(
debug_ts
)
{
av_log
(
NULL
,
AV_LOG_INFO
,
"demuxer+ffmpeg -> ist_index:%d type:%s pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s off:%
"
PRId64
"
\n
"
,
av_log
(
NULL
,
AV_LOG_INFO
,
"demuxer+ffmpeg -> ist_index:%d type:%s pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s off:%
s off_time:%s
\n
"
,
ifile
->
ist_index
+
pkt
.
stream_index
,
av_get_media_type_string
(
ist
->
st
->
codec
->
codec_type
),
av_ts2str
(
pkt
.
pts
),
av_ts2timestr
(
pkt
.
pts
,
&
ist
->
st
->
time_base
),
av_ts2str
(
pkt
.
dts
),
av_ts2timestr
(
pkt
.
dts
,
&
ist
->
st
->
time_base
),
input_files
[
ist
->
file_index
]
->
ts_offset
);
av_ts2str
(
input_files
[
ist
->
file_index
]
->
ts_offset
),
av_ts2timestr
(
input_files
[
ist
->
file_index
]
->
ts_offset
,
&
AV_TIME_BASE_Q
));
}
sub2video_heartbeat
(
ist
,
pkt
.
pts
);
...
...
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