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
ed67dac0
Commit
ed67dac0
authored
Jan 16, 2012
by
Clément Bœsch
Committed by
Clément Bœsch
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg12: use av_mpegtc_to_timecode_string().
parent
dc386a5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
mpeg12.c
libavcodec/mpeg12.c
+6
-9
No files found.
libavcodec/mpeg12.c
View file @
ed67dac0
...
...
@@ -33,6 +33,7 @@
#include "dsputil.h"
#include "mpegvideo.h"
#include "libavutil/avassert.h"
#include "libavutil/timecode.h"
#include "mpeg12.h"
#include "mpeg12data.h"
...
...
@@ -2165,15 +2166,11 @@ static void mpeg_decode_gop(AVCodecContext *avctx,
broken_link
=
get_bits1
(
&
s
->
gb
);
if
(
s
->
avctx
->
debug
&
FF_DEBUG_PICT_INFO
)
{
int
time_code_hours
=
tc
>>
19
&
0x1f
;
int
time_code_minutes
=
tc
>>
13
&
0x3f
;
int
time_code_seconds
=
tc
>>
6
&
0x3f
;
int
drop_frame_flag
=
tc
&
1
<<
24
;
int
time_code_pictures
=
tc
&
0x3f
;
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"GOP (%02d:%02d:%02d%c%02d) closed_gop=%d broken_link=%d
\n
"
,
time_code_hours
,
time_code_minutes
,
time_code_seconds
,
drop_frame_flag
?
';'
:
':'
,
time_code_pictures
,
s
->
closed_gop
,
broken_link
);
char
tcbuf
[
AV_TIMECODE_STR_SIZE
];
av_timecode_make_mpeg_tc_string
(
tcbuf
,
tc
);
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"GOP (%s) closed_gop=%d broken_link=%d
\n
"
,
tcbuf
,
s
->
closed_gop
,
broken_link
);
}
}
/**
...
...
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