Revision d9c3e5f6 ffmpeg.c
ffmpeg.c | ||
---|---|---|
1607 | 1607 |
|
1608 | 1608 |
#if CONFIG_AVFILTER |
1609 | 1609 |
if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && ist->input_video_filter) { |
1610 |
AVRational sar; |
|
1611 |
if (ist->st->sample_aspect_ratio.num) sar = ist->st->sample_aspect_ratio; |
|
1612 |
else sar = ist->st->codec->sample_aspect_ratio; |
|
1610 | 1613 |
// add it to be filtered |
1611 | 1614 |
av_vsrc_buffer_add_frame(ist->input_video_filter, &picture, |
1612 | 1615 |
ist->pts, |
1613 |
ist->st->codec->sample_aspect_ratio);
|
|
1616 |
sar);
|
|
1614 | 1617 |
} |
1615 | 1618 |
#endif |
1616 | 1619 |
|
Also available in: Unified diff