解决点播误删文件的问题
This commit is contained in:
parent
800ab3e137
commit
e63daba2f0
|
|
@ -130,7 +130,7 @@ MediaReader::MediaReader(const string &strVhost,const string &strApp, const stri
|
||||||
}
|
}
|
||||||
|
|
||||||
m_iDuration = MAX(m_video_ms,m_audio_ms);
|
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) {
|
if (m_audio_trId != MP4_INVALID_TRACK_ID) {
|
||||||
AudioInfo info;
|
AudioInfo info;
|
||||||
info.iChannel = m_audio_num_channels;
|
info.iChannel = m_audio_num_channels;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue