summaryrefslogtreecommitdiffstats
path: root/sub/sd_srt.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-03 21:49:39 +0200
committerwm4 <wm4@nowhere>2013-06-03 22:40:32 +0200
commit61dfe121791adf953386642844cd9258ba99f179 (patch)
treeaf462c71bf0fba132a1e90ab89fc96ec779e6afe /sub/sd_srt.c
parent3289be9a2856c0f935fcb49768fc39d878044202 (diff)
downloadmpv-61dfe121791adf953386642844cd9258ba99f179.tar.bz2
mpv-61dfe121791adf953386642844cd9258ba99f179.tar.xz
sub: add name field to all sub decoders
Might help with debugging.
Diffstat (limited to 'sub/sd_srt.c')
-rw-r--r--sub/sd_srt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/sd_srt.c b/sub/sd_srt.c
index ec4768a598..fcad088dc1 100644
--- a/sub/sd_srt.c
+++ b/sub/sd_srt.c
@@ -458,6 +458,7 @@ static void decode(struct sd *sd, struct demux_packet *packet)
}
const struct sd_functions sd_srt = {
+ .name = "srt",
.supports_format = supports_format,
.init = init,
.decode = decode,