video: Don't corrupt caption GstMeta
authorEdward Hervey <edward@centricular.com>
Mon, 16 Apr 2018 15:04:06 +0000 (17:04 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 16 Apr 2018 15:04:06 +0000 (17:04 +0200)
commit4d40ac3fc59f226431fc0b47eaaeba1dec260762
tree8771e86f593210147b2ca057b045d7c5044736d7
parentdebe7d2fdf9efc03621531773dcc199ff2adfe11
video: Don't corrupt caption GstMeta

the meta initialization function is provided *after* the base implementation
fields have been set so do *NOT* reset them otherwise it would result
in corrupted GstMeta.

Instead explicitely set our fields to the default values we actually want.
gst-libs/gst/video/video-anc.c