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
434cab9e
Commit
434cab9e
authored
Aug 08, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timestamp debugging av_logs()
Originally committed as revision 5960 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
790c9ca7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
utils.c
libavformat/utils.c
+16
-2
No files found.
libavformat/utils.c
View file @
434cab9e
...
...
@@ -871,7 +871,7 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
*
pkt
=
s
->
cur_pkt
;
compute_pkt_fields
(
s
,
st
,
NULL
,
pkt
);
s
->
cur_st
=
NULL
;
return
0
;
break
;
}
else
if
(
s
->
cur_len
>
0
&&
st
->
discard
<
AVDISCARD_ALL
)
{
len
=
av_parser_parse
(
st
->
parser
,
st
->
codec
,
&
pkt
->
data
,
&
pkt
->
size
,
s
->
cur_ptr
,
s
->
cur_len
,
...
...
@@ -891,7 +891,7 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
pkt
->
dts
=
st
->
parser
->
dts
;
pkt
->
destruct
=
av_destruct_packet_nofree
;
compute_pkt_fields
(
s
,
st
,
st
->
parser
,
pkt
);
return
0
;
break
;
}
}
else
{
/* free packet */
...
...
@@ -921,6 +921,12 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
}
st
=
s
->
streams
[
s
->
cur_pkt
.
stream_index
];
if
(
st
->
codec
->
debug
&
FF_DEBUG_PTS
)
av_log
(
s
,
AV_LOG_DEBUG
,
"av_read_packet stream=%d, pts=%lld, dts=%lld, size=%d
\n
"
,
s
->
cur_pkt
.
stream_index
,
s
->
cur_pkt
.
pts
,
s
->
cur_pkt
.
dts
,
s
->
cur_pkt
.
size
);
s
->
cur_st
=
st
;
s
->
cur_ptr
=
s
->
cur_pkt
.
data
;
...
...
@@ -936,6 +942,14 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
}
}
}
if
(
st
->
codec
->
debug
&
FF_DEBUG_PTS
)
av_log
(
s
,
AV_LOG_DEBUG
,
"av_read_frame_internal stream=%d, pts=%lld, dts=%lld, size=%d
\n
"
,
pkt
->
stream_index
,
pkt
->
pts
,
pkt
->
dts
,
pkt
->
size
);
return
0
;
}
/**
...
...
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