gstvideometa: do not emit criticals when adding timecode metas
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 3 Apr 2019 15:34:00 +0000 (17:34 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Wed, 3 Apr 2019 15:37:10 +0000 (17:37 +0200)
commitabed7c2d3d0247431811d932975aca3f46d368b2
tree7339d2d4fe0532bf07a89ddd0341f86b3dae632f
parentb27b31e0995a043a67310cd14f455cced28676af
gstvideometa: do not emit criticals when adding timecode metas

This is inconsistent with other add_meta methods such as
gst_buffer_add_video_meta , which will return NULL without
logging when gst_video_info_set_format fails.

It is up to the caller to check the return value of the
function, and log if appropriate.
gst-libs/gst/video/gstvideometa.c