Do not use signals and slot to stop live stream thread

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Move StreamFrame to separate files

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Rename StreamFrame to LiveStreamFrame

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Add LiveStreamFrame::deleteFrom method
Add LiveStreamFrame::deleteFromTo method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Merge deleteFrom and deleteFromTo into one method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not return bool from LiveStream::updateFrame()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extact LiveStream::frameToDisplay() method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Rename some variables

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Move deleting unused frames outside of frameToDisplay() method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Simplify scaling logic in LiveStream::frameToDisplay()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Move m_ptsBase and m_ptsTimer to be only used in one method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Move frameToDisplay method from LiveStream to LiveStreamWorker class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove old frames in LiveStreamWorker

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not keep currently displayed frame in LiveStreamWorker

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use lock in LiveStreamWorker instead of LiveStream

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove friend relationship between LiveStream and LiveStreamWorker

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>