History

libavfilter: src_buffer: add time_base for audio

Michael Niedermayer committed 14 years ago

Commit dfa988e1 parent aa69db31 file · +2 −0Browse files

Showing the changes to libavfilter/src_buffer.c (1 of 1 file). Show all

Unified · Split

libavfilter/src_buffer.c+2−0
@@ -430,6 +430,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args0, void *opa · 429 unmodified lines
430430 if (*args) \
431431 arg = av_strtok(NULL, ":", &ptr)
432432
433+ ADD_FORMAT(time_base);
433434 ADD_FORMAT(sample_rate);
434435 ADD_FORMAT(sample_format);
435436 ADD_FORMAT(channel_layout);
@@ -516,6 +517,7 @@ static int config_output_audio(AVFilterLink *outlink) · 80 unmodified lines
516517 {
517518 BufferSourceContext *abuffer = outlink->src->priv;
518519 outlink->sample_rate = abuffer->sample_rate;
520+ outlink->time_base = abuffer->time_base;
519521 return 0;
520522 }
521523

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t