Showing the changes to libavfilter/src_buffer.c (1 of 1 file). Show all
Unified · Split
| @@ -430,6 +430,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args0, void *opa · 429 unmodified lines | ||
| 430 | 430 | if (*args) \ |
| 431 | 431 | arg = av_strtok(NULL, ":", &ptr) |
| 432 | 432 | |
| 433 | + ADD_FORMAT(time_base); | |
| 433 | 434 | ADD_FORMAT(sample_rate); |
| 434 | 435 | ADD_FORMAT(sample_format); |
| 435 | 436 | ADD_FORMAT(channel_layout); |
| @@ -516,6 +517,7 @@ static int config_output_audio(AVFilterLink *outlink) · 80 unmodified lines | ||
| 516 | 517 | { |
| 517 | 518 | BufferSourceContext *abuffer = outlink->src->priv; |
| 518 | 519 | outlink->sample_rate = abuffer->sample_rate; |
| 520 | + outlink->time_base = abuffer->time_base; | |
| 519 | 521 | return 0; |
| 520 | 522 | } |
| 521 | 523 | |