Cleaning up the info prober

This commit is contained in:
Zoe Roux
2019-12-29 05:03:15 +01:00
parent 72aea102f2
commit c80b4d8fd1
9 changed files with 72 additions and 32 deletions
+3 -3
View File
@@ -3,10 +3,10 @@
#include "stream.h"
//API int transmux(const char *path, const char *out_path, float *playable_duration);
//
//API int transcode(const char *path, const char *out_path, float *playable_duration);
//
//API stream *get_track_info(const char *path, int *stream_count, int *track_count);
API stream *get_track_info(const char *path, unsigned *stream_count, unsigned *track_count);
//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);