libsub
|
A subtitle which has been collected into lines and blocks. More...
#include <subtitle.h>
Public Member Functions | |
Subtitle (RawSubtitle s) | |
bool | same_metadata (RawSubtitle) const |
Public Attributes | |
Time | from |
Time | to |
boost::optional< Time > | fade_up |
boost::optional< Time > | fade_down |
std::vector< Line > | lines |
A subtitle which has been collected into lines and blocks.
This represents a chunk of text which appears and disappears at some particular times.
Subtitle::Subtitle | ( | RawSubtitle | s | ) |
Construct a Line taking any relevant information from a RawSubtitle
Time sub::Subtitle::from |
from time
Time sub::Subtitle::to |
to time