projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7862bd3
)
mpeg12enc: fix drop_frame_timecode value
author
Matthieu Bouron
<matthieu.bouron@smartjog.com>
Wed, 14 Dec 2011 13:30:39 +0000
(14:30 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 14 Dec 2011 15:20:51 +0000
(16:20 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg12enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12enc.c
b/libavcodec/mpeg12enc.c
index
195d14e
..
01dd8f0
100644
(file)
--- a/
libavcodec/mpeg12enc.c
+++ b/
libavcodec/mpeg12enc.c
@@
-184,6
+184,7
@@
static av_cold int encode_init(AVCodecContext *avctx)
s->tc.rate = avpriv_frame_rate_tab[s->frame_rate_index];
if (avpriv_init_smpte_timecode(s, &s->tc) < 0)
return -1;
+ s->drop_frame_timecode = s->tc.drop;
s->avctx->timecode_frame_start = s->tc.start;
} else {
s->avctx->timecode_frame_start = 0; // default is -1