Mercurial > hg > svcore
comparison data/fileio/QuickTimeFileReader.cpp @ 441:288f45533041
* Add region model and layer; improve assignment of model types to
feature extraction transforms with duration
author | Chris Cannam |
---|---|
date | Thu, 18 Sep 2008 16:08:14 +0000 |
parents | be49bf95d4a5 |
children | b4a8d8221eaf |
comparison
equal
deleted
inserted
replaced
440:5746c559af15 | 441:288f45533041 |
---|---|
201 sizeof(m_d->asbd), | 201 sizeof(m_d->asbd), |
202 &m_d->asbd); | 202 &m_d->asbd); |
203 | 203 |
204 if (m_d->err) { | 204 if (m_d->err) { |
205 m_error = QString("Error in QuickTime decoder property set: code %1").arg(m_d->err); | 205 m_error = QString("Error in QuickTime decoder property set: code %1").arg(m_d->err); |
206 m_channelCount = 0; | |
206 return; | 207 return; |
207 } | 208 } |
208 m_d->buffer.mNumberBuffers = 1; | 209 m_d->buffer.mNumberBuffers = 1; |
209 m_d->buffer.mBuffers[0].mNumberChannels = m_channelCount; | 210 m_d->buffer.mBuffers[0].mNumberChannels = m_channelCount; |
210 m_d->buffer.mBuffers[0].mDataByteSize = | 211 m_d->buffer.mBuffers[0].mDataByteSize = |