mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
22 lines
485 B
C++
22 lines
485 B
C++
#pragma once
|
|
|
|
#include "Stream.h"
|
|
#include "VideoContainer.h"
|
|
#include <functional>
|
|
|
|
class CRawMpeg2Container : public CVideoContainer
|
|
{
|
|
public:
|
|
typedef std::function<void(uint8*, uint32)> VideoStreamHandler;
|
|
|
|
CRawMpeg2Container(Framework::CStream&);
|
|
virtual ~CRawMpeg2Container();
|
|
|
|
virtual STATUS Read();
|
|
|
|
void RegisterVideoStreamHandler(const VideoStreamHandler&);
|
|
|
|
private:
|
|
Framework::CStream& m_inputStream;
|
|
VideoStreamHandler m_videoStreamHandler;
|
|
};
|