解决点播误删文件的问题

This commit is contained in:
xiongziliang 2018-03-30 11:48:10 +08:00
parent 800ab3e137
commit e63daba2f0

View File

@ -130,7 +130,7 @@ MediaReader::MediaReader(const string &strVhost,const string &strApp, const stri
}
m_iDuration = MAX(m_video_ms,m_audio_ms);
m_pChn.reset(new DevChannel(strVhost.data(),strApp.data(),strId.data(),m_iDuration/1000.0,true, false));
m_pChn.reset(new DevChannel(strVhost.data(),strApp.data(),strId.data(),m_iDuration/1000.0,false, false));
if (m_audio_trId != MP4_INVALID_TRACK_ID) {
AudioInfo info;
info.iChannel = m_audio_num_channels;