videotimecode: Add API for initializing from a GDateTime with validation
authorSebastian Dröge <sebastian@centricular.com>
Fri, 14 Dec 2018 15:56:45 +0000 (17:56 +0200)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Wed, 19 Dec 2018 23:11:24 +0000 (23:11 +0000)
commitc02d3b03c2fe018441586c227d61888bda5107fe
treea5034e1fc4085a5623ae1650795233c12d92533b
parentac6ae25b53cfe4f31fe4ecfbd03e3d3b91c1b286
videotimecode: Add API for initializing from a GDateTime with validation

The old API would only assert or return an invalid timecode, the new API
returns a boolean or NULL. We can't change the existing API
unfortunately but can at least deprecate it.
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/video/gstvideotimecode.c
gst-libs/gst/video/gstvideotimecode.h
tests/check/libs/videotimecode.c