pango: demote debug WARNING to LOG for variable framerate video input

No need why we need to warn about that, it's perfectly allowed.

https://bugzilla.gnome.org/show_bug.cgi?id=725837
This commit is contained in:
Adrien Schwartzentruber 2014-03-06 17:49:09 +00:00 committed by Tim-Philipp Müller
parent c904661dc3
commit a9d98c57a4

View file

@ -2316,7 +2316,7 @@ gst_base_text_overlay_video_chain (GstPad * pad, GstObject * parent,
GST_DEBUG_OBJECT (overlay, "estimating duration based on framerate"); GST_DEBUG_OBJECT (overlay, "estimating duration based on framerate");
stop = start + gst_util_uint64_scale_int (GST_SECOND, fps_denom, fps_num); stop = start + gst_util_uint64_scale_int (GST_SECOND, fps_denom, fps_num);
} else { } else {
GST_WARNING_OBJECT (overlay, "no duration, assuming minimal duration"); GST_LOG_OBJECT (overlay, "no duration, assuming minimal duration");
stop = start + 1; /* we need to assume some interval */ stop = start + 1; /* we need to assume some interval */
} }
gst_caps_unref (caps); gst_caps_unref (caps);