2003-03-06 23:39:40 +00:00
|
|
|
/*
|
|
|
|
mkvmerge -- utility for splicing together matroska files
|
|
|
|
from component media subtypes
|
|
|
|
|
|
|
|
p_textsubs.h
|
|
|
|
|
|
|
|
Written by Moritz Bunkus <moritz@bunkus.org>
|
|
|
|
|
|
|
|
Distributed under the GPL
|
|
|
|
see the file COPYING for details
|
|
|
|
or visit http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
|
|
|
\file
|
2003-04-11 11:23:54 +00:00
|
|
|
\version \$Id: p_textsubs.h,v 1.2 2003/04/11 11:23:54 mosu Exp $
|
2003-03-06 23:39:40 +00:00
|
|
|
\brief class definition for the simple text subtitle packetizer
|
|
|
|
\author Moritz Bunkus <moritz @ bunkus.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __P_TEXTSUBS_H
|
|
|
|
#define __P_TEXTSUBS_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
#include "pr_generic.h"
|
|
|
|
#include "queue.h"
|
|
|
|
|
|
|
|
class textsubs_packetizer_c: public q_c {
|
|
|
|
private:
|
|
|
|
int packetno;
|
|
|
|
|
|
|
|
public:
|
|
|
|
textsubs_packetizer_c(track_info_t *nti) throw (error_c);
|
|
|
|
virtual ~textsubs_packetizer_c();
|
|
|
|
|
2003-04-11 11:23:54 +00:00
|
|
|
virtual int process(unsigned char *_subs, int size, int64_t start,
|
|
|
|
int64_t length);
|
2003-03-06 23:39:40 +00:00
|
|
|
virtual void set_header();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __P_TEXTSUBS_H
|