Commit daf329fc authored by James Almer's avatar James Almer

dshow: convert to new channel layout API

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 279876c3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment