[Bug 765391] vpxenc: Handle frames with too low duration correctly

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 22 13:35:14 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765391

--- Comment #12 from Mario Sánchez Prada <msanchez at gnome.org> ---
Yes, I was looking into GST_ELEMENT_WARNING() but I suppose I can use
GST_WARNING_OBJECT, thanks for the tip.

The only doubt I have now is about only showing it in the debug log: since this
particular case does not happen with GST_DEBUG < 5, wouldn't the message never
show up in the logs if we make it debug-only?

For reference, and at risk of being totallywrong, this is what I had and was
about to try now (building), which is probably wrong anyway:

   GST_ELEMENT_WARNING (encoder, STREAM, FORMAT,
      ("Too small value for frame duration. Ignoring..."),
      ("Too small value for frame duration, truncated to zero after"
       " scaling (original value: %llu). Ignoring...", frame->duration));

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list