subparse: don't use g_warning() for malformed input
authorTim-Philipp Müller <tim@centricular.com>
Sun, 17 Oct 2021 12:04:14 +0000 (13:04 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Oct 2021 00:12:25 +0000 (00:12 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>

subprojects/gst-plugins-base/gst/subparse/gstsubparse.c

index e9bb24e..eaae3cf 100644 (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;
   }