diff --git a/packager/media/formats/webvtt/cue.cc b/packager/media/formats/webvtt/cue.cc deleted file mode 100644 index 95250f7cf3..0000000000 --- a/packager/media/formats/webvtt/cue.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include "packager/media/formats/webvtt/cue.h" - -#include "packager/base/strings/string_util.h" - -namespace shaka { -namespace media { - -Cue::Cue() : start_time(0), duration(0) {} -Cue::~Cue() {} - -} // namespace media -} // namespace shaka diff --git a/packager/media/formats/webvtt/cue.h b/packager/media/formats/webvtt/cue.h deleted file mode 100644 index 2612bc4853..0000000000 --- a/packager/media/formats/webvtt/cue.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_ -#define PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_ - -#include - -#include -#include -#include - -#include "packager/media/base/media_sample.h" - -namespace shaka { -namespace media { - -// If comment is not empty, then this is metadata and other fields must -// be empty. -// Data that can be multiline are vector of strings. -struct Cue { - Cue(); - ~Cue(); - - std::string identifier; - uint64_t start_time; - uint64_t duration; - std::string settings; - - // |payload| and |comment| may have trailing "\n" character. - std::string payload; - std::string comment; -}; - -} // namespace media -} // namespace shaka - -#endif // PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_ diff --git a/packager/media/formats/webvtt/webvtt.gyp b/packager/media/formats/webvtt/webvtt.gyp index d983b7076c..775e467261 100644 --- a/packager/media/formats/webvtt/webvtt.gyp +++ b/packager/media/formats/webvtt/webvtt.gyp @@ -13,8 +13,6 @@ 'target_name': 'webvtt', 'type': '<(component)', 'sources': [ - 'cue.cc', - 'cue.h', 'text_padder.cc', 'text_padder.h', 'text_readers.cc',