summaryrefslogtreecommitdiffstats
path: root/sub/sd.h
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.h
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.h')
-rw-r--r--sub/sd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/sd.h b/sub/sd.h
index a2f57a5808..4268137921 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -45,6 +45,7 @@ struct sd {
};
struct sd_functions {
+ const char *name;
bool accept_packets_in_advance;
bool (*supports_format)(const char *format);
int (*init)(struct sd *sd);