Fixed live support

This commit is contained in:
Thulinma 2014-05-13 12:00:42 +02:00
parent d459a99317
commit 6f5f3b37c2
3 changed files with 8 additions and 10 deletions

View file

@ -57,7 +57,8 @@ namespace Mist {
//read metadata from page to myMeta variable
if (streamIndex.mapped){
DTSC::Packet tmpMeta(streamIndex.mapped, streamIndex.len, true);
if (tmpMeta){
if (tmpMeta.getVersion()){
/// \todo Make sure this doesn't go wrong when overwritten by MistInBuffer during parse
myMeta.reinit(tmpMeta);
}
}