mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue