We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sbr_load_text
1 parent 9d63342 commit e0bd9a3Copy full SHA for e0bd9a3
sub/sd_sbr.c
@@ -96,6 +96,11 @@ static void decode(struct sd *sd, struct demux_packet *packet)
96
NULL
97
);
98
packet->sub_duration = packet->duration;
99
+
100
+ if (!ctx->sbr_subtitles) {
101
+ const char *error = sbr_get_last_error_string();
102
+ mp_err(sd->log, "Failed to load subtitles: %s\n", error);
103
+ }
104
}
105
106
static struct sub_bitmaps *get_bitmaps(struct sd *sd, struct mp_osd_res dim,
0 commit comments