diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-17 02:40:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-17 02:55:57 +0200 |
commit | dfa988ee5ea704ba761d004f0c27e7acc1fb4251 (patch) | |
tree | 01abcccf7f7437ed77d61000a6bb906d68dbd271 | |
parent | aa69db3abfe8ee285a1f951ce00c3407f80f9bde (diff) | |
download | ffmpeg-dfa988ee5ea704ba761d004f0c27e7acc1fb4251.tar.gz |
libavfilter: src_buffer: add time_base for audio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/src_buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c index 5aa0f990f5..b249a8368f 100644 --- a/libavfilter/src_buffer.c +++ b/libavfilter/src_buffer.c @@ -430,6 +430,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args0, void *opa if (*args) \ arg = av_strtok(NULL, ":", &ptr) + ADD_FORMAT(time_base); ADD_FORMAT(sample_rate); ADD_FORMAT(sample_format); ADD_FORMAT(channel_layout); @@ -516,6 +517,7 @@ static int config_output_audio(AVFilterLink *outlink) { BufferSourceContext *abuffer = outlink->src->priv; outlink->sample_rate = abuffer->sample_rate; + outlink->time_base = abuffer->time_base; return 0; } |