diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-12 22:17:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-13 20:35:08 +0200 |
commit | 0eb0b310c4409658e3e31c72ea093613f3364f01 (patch) | |
tree | 8c9de57b65d509c4818383f506fc78fa685b71a5 /libavcodec/utils.c | |
parent | cb59e62abbf0d7a04fecb04ff7dd3463fa73b8ce (diff) | |
download | ffmpeg-0eb0b310c4409658e3e31c72ea093613f3364f01.tar.gz |
lavc: add pkt_timebase to allow avcodec to adjust pkt_dts/pts when needed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 5afa3e7e97..abb5674e7f 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -726,6 +726,8 @@ MAKE_ACCESSORS(AVFrame, frame, int64_t, pkt_pos) MAKE_ACCESSORS(AVFrame, frame, int64_t, channel_layout) MAKE_ACCESSORS(AVFrame, frame, int, sample_rate) +MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase) + static void avcodec_get_subtitle_defaults(AVSubtitle *sub) { memset(sub, 0, sizeof(*sub)); |