Skip to content

Commit

Permalink
[TS] Signal configuration change if extra-data has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed May 20, 2019
1 parent 04c59cc commit 50ff9d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TSReader.cpp
Expand Up @@ -136,6 +136,7 @@ bool TSReader::GetInformation(INPUTSTREAM_INFO &info)
info.m_ExtraData = (uint8_t*)realloc((void*)info.m_ExtraData, tsInfo.m_stream->stream_info.extra_data_size);
memcpy((void*)info.m_ExtraData, tsInfo.m_stream->stream_info.extra_data, tsInfo.m_stream->stream_info.extra_data_size);
info.m_ExtraSize = tsInfo.m_stream->stream_info.extra_data_size;
ret = true;
}
return ret;
}
Expand Down

0 comments on commit 50ff9d2

Please sign in to comment.