Reworked existing subtitle support (sideloaded, MP4 in and srt out)
This commit is contained in:
parent
741c4755cc
commit
b9e261e1ef
7 changed files with 159 additions and 33 deletions
15
lib/subtitles.h
Normal file
15
lib/subtitles.h
Normal 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);
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue