OSDN Git Service

lavfi: set link audio time_base if not set in avfilter_config_links()
authorStefano Sabatini <stefasab@gmail.com>
Fri, 16 Sep 2011 10:38:31 +0000 (12:38 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 16 Sep 2011 18:44:26 +0000 (20:44 +0200)
commit71c644ceda80022c3f9e7dd23953e970968fa626
tree72017e7b7d49697398f2a11dd26fdb8d7bebf718
parent4460b81f9ec3fb18c9fa118c33f7bfb07c172652
lavfi: set link audio time_base if not set in avfilter_config_links()

The set value depends on the input link, or on the sample_rate value.
Avoids the need to explicitely set the time_base value.
libavfilter/avfilter.c