diff options
Diffstat (limited to 'src/Mpeg.h')
-rw-r--r-- | src/Mpeg.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Mpeg.h b/src/Mpeg.h new file mode 100644 index 0000000..780d080 --- /dev/null +++ b/src/Mpeg.h @@ -0,0 +1,29 @@ +/* + * Mpeg.h + * + * Created on: 2014. 6. 18. + * Author: oskwon + */ + +#ifndef MPEG_H_ +#define MPEG_H_ + +#include "trap.h" +#include "mpegts.h" +//---------------------------------------------------------------------- + +class HttpHeader; + +class Mpeg : public MpegTS +{ +public: + Mpeg(std::string file, bool request_time_seek) throw (trap) + : MpegTS(file, request_time_seek) + {} + virtual ~Mpeg() throw () {} + + void seek(HttpHeader &header); +}; +//---------------------------------------------------------------------- + +#endif /* MPEG_H_ */ |