m_streaminfo.load(stream_info_filename);
}
- if (!m_streaminfo.empty())
+ if (m_streaminfo.hasAccessPoint())
m_use_streaminfo = 1;
else
{
int is_mpeg = 0;
// eDebug("trying to find iFrame at %lld", offset);
- if (!m_use_streaminfo)
+ if (!m_streaminfo.hasStructure())
{
// eDebug("can't get next iframe without streaminfo");
return -1;