mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
lavfi/buffersrc: remove init of rate and layout.
The sample rate and channel layout are negotiated and set by the filter graph system, the filters must not set them.
This commit is contained in:
parent
34de47aa35
commit
5033a1af17
@ -345,8 +345,6 @@ static int config_props(AVFilterLink *link)
|
||||
link->sample_aspect_ratio = c->pixel_aspect;
|
||||
break;
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
link->channel_layout = c->channel_layout;
|
||||
link->sample_rate = c->sample_rate;
|
||||
break;
|
||||
default:
|
||||
return AVERROR(EINVAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user