mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 10:34:11 +00:00
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:
parent
817cb23b9c
commit
5660743bbf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue