Removed Unused Cue class

The Cue class was from a previous WebVTT implementation and
is not used in the current implementation. It was missed when the
other classes were removed. This change removes it.

Change-Id: I661ab3fcd80b5e5ef98b5213746b341a4028d1a1
This commit is contained in:
Aaron Vaage 2018-05-21 10:06:42 -07:00
parent dd68b3e386
commit 5bb5a58b7f
3 changed files with 0 additions and 49 deletions

View File

@ -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

View File

@ -1,35 +0,0 @@
#ifndef PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_
#define PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#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_

View File

@ -13,8 +13,6 @@
'target_name': 'webvtt', 'target_name': 'webvtt',
'type': '<(component)', 'type': '<(component)',
'sources': [ 'sources': [
'cue.cc',
'cue.h',
'text_padder.cc', 'text_padder.cc',
'text_padder.h', 'text_padder.h',
'text_readers.cc', 'text_readers.cc',