diff options
author | Matthieu Bouron <matthieu.bouron@smartjog.com> | 2011-12-14 14:30:39 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-14 16:20:51 +0100 |
commit | 366605ff5dc1471304e8999b8961bc9e4417fc5a (patch) | |
tree | 069eedab2be63731db3b63521ae7fa3d96fbf107 /libavcodec/mpeg12enc.c | |
parent | 7862bd3d4a50524b225bcb93ae43f6edbceae816 (diff) | |
download | ffmpeg-streaming-366605ff5dc1471304e8999b8961bc9e4417fc5a.zip ffmpeg-streaming-366605ff5dc1471304e8999b8961bc9e4417fc5a.tar.gz |
mpeg12enc: fix drop_frame_timecode value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 195d14e..01dd8f0 100644 --- 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 |