Forráskód Böngészése

Update getvideothread.cpp

叶海辉 6 éve
szülő
commit
9bb5835b23
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      src/video/getvideothread.cpp

+ 0 - 1
src/video/getvideothread.cpp

@@ -245,7 +245,6 @@ ErroCode GetVideoThread::init(QString videoDevName, bool useVideo, QString audio
             {
                 in_ch_layout = AV_CH_LAYOUT_MONO;
             }
-            in_ch_layout = AV_CH_LAYOUT_STEREO;//av_get_default_channel_layout(aCodecCtx->channels);
         }
 //qDebug()<<"1111:"<<in_sample_fmt<<in_sample_rate<<in_ch_layout<<aCodecCtx->channels<<out_sample_fmt<<out_sample_rate<<out_ch_layout<<audio_tgt_channels;
         swrCtx = swr_alloc_set_opts(nullptr, out_ch_layout, out_sample_fmt, out_sample_rate,