diff options
Diffstat (limited to 'player/misc.c')
-rw-r--r-- | player/misc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/player/misc.c b/player/misc.c index 4246c1c6f9..e8cebbc2e6 100644 --- a/player/misc.c +++ b/player/misc.c @@ -45,6 +45,12 @@ #include "core.h" #include "command.h" +const int num_ptracks[STREAM_TYPE_COUNT] = { + [STREAM_VIDEO] = 1, + [STREAM_AUDIO] = 1, + [STREAM_SUB] = 2, +}; + double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t) { double length = get_time_length(mpctx); |