#include "types.h"
#include "player_text.h"
+#include "dcp_text_track.h"
#include "encoder.h"
#include <boost/weak_ptr.hpp>
void video (boost::shared_ptr<PlayerVideo>, DCPTime);
void audio (boost::shared_ptr<AudioBuffers>, DCPTime);
- void subtitle (PlayerText, DCPTimePeriod);
+ void text (PlayerText, TextType, boost::optional<DCPTextTrack>, DCPTimePeriod);
boost::shared_ptr<Writer> _writer;
boost::shared_ptr<J2KEncoder> _j2k_encoder;
boost::signals2::scoped_connection _player_video_connection;
boost::signals2::scoped_connection _player_audio_connection;
- boost::signals2::scoped_connection _player_subtitle_connection;
+ boost::signals2::scoped_connection _player_text_connection;
};