Reworked existing subtitle support (sideloaded, MP4 in and srt out)

This commit is contained in:
Ramoe 2017-11-23 09:13:43 +01:00 committed by Thulinma
parent 741c4755cc
commit b9e261e1ef
7 changed files with 159 additions and 33 deletions

15
lib/subtitles.h Normal file
View file

@ -0,0 +1,15 @@
#pragma once
#include <string>
#include "dtsc.h"
namespace Subtitle {
struct Packet {
std::string subtitle;
uint64_t duration;
};
Packet getSubtitle(DTSC::Packet packet, DTSC::Meta meta);
}