mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
dshow: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
279876c354
commit
daf329fc38
@ -1632,7 +1632,7 @@ dshow_add_device(AVFormatContext *avctx,
|
||||
par->format = sample_fmt_bits_per_sample(fmt_info->sample_size);
|
||||
par->codec_id = waveform_codec_id(par->format);
|
||||
par->sample_rate = fmt_info->sample_rate;
|
||||
par->channels = fmt_info->channels;
|
||||
par->ch_layout.nb_channels = fmt_info->channels;
|
||||
}
|
||||
|
||||
avpriv_set_pts_info(st, 64, 1, 10000000);
|
||||
|
Loading…
Reference in New Issue
Block a user