Reworking the subtitle extraction

This commit is contained in:
Zoe Roux
2019-12-29 03:59:19 +01:00
parent 48c7902eca
commit c07db50068
7 changed files with 147 additions and 52 deletions
+3 -1
View File
@@ -11,4 +11,6 @@
//Take the path of the file and the path of the output directory. It will return the list of subtitle streams in the streams variable. The int returned is the number of subtitles extracted.
API stream *extract_subtitles(char *path, const char *out_path, unsigned *stream_count, unsigned *subtitle_count);
API void free_memory(stream *streamsPtr);
void destroy_stream(stream *s);
API void free_streams(stream *streamsPtr, int count);