Revision 84cac86e
libavfilter/defaults.c | ||
---|---|---|
209 | 209 |
if (link->type == AVMEDIA_TYPE_VIDEO) { |
210 | 210 |
link->w = link->src->inputs[0]->w; |
211 | 211 |
link->h = link->src->inputs[0]->h; |
212 |
link->sample_aspect_ratio = link->src->inputs[0]->sample_aspect_ratio; |
|
213 | 212 |
link->time_base = link->src->inputs[0]->time_base; |
214 | 213 |
} else if (link->type == AVMEDIA_TYPE_AUDIO) { |
215 | 214 |
link->channel_layout = link->src->inputs[0]->channel_layout; |
Also available in: Unified diff