subparse: don't use g_warning() for malformed input

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>
This commit is contained in:
Tim-Philipp Müller 2021-10-17 13:04:14 +01:00 committed by GStreamer Marge Bot
parent 817cb23b9c
commit 5660743bbf

View file

@ -515,7 +515,7 @@ parse_mdvdsub (ParserState * state, const gchar * line)
gdouble fps = 0.0;
if (sscanf (line, "{%u}{%u}", &start_frame, &end_frame) != 2) {
g_warning ("Parse of the following line, assumed to be in microdvd .sub"
GST_WARNING ("Parsing of the following line, assumed to be in microdvd .sub"
" format, failed:\n%s", line);
return NULL;
}