mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
video-anc: init type before g_once_init_enter
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/675>
This commit is contained in:
parent
be3745cb92
commit
c7a956aede
1 changed files with 3 additions and 3 deletions
|
@ -932,7 +932,7 @@ gst_video_vbi_encoder_write_line (GstVideoVBIEncoder * encoder, guint8 * data)
|
||||||
GType
|
GType
|
||||||
gst_video_caption_meta_api_get_type (void)
|
gst_video_caption_meta_api_get_type (void)
|
||||||
{
|
{
|
||||||
static volatile GType type;
|
static volatile GType type = 0;
|
||||||
|
|
||||||
if (g_once_init_enter (&type)) {
|
if (g_once_init_enter (&type)) {
|
||||||
static const gchar *tags[] = { NULL };
|
static const gchar *tags[] = { NULL };
|
||||||
|
@ -1135,7 +1135,7 @@ gst_video_caption_type_to_caps (GstVideoCaptionType type)
|
||||||
GType
|
GType
|
||||||
gst_video_afd_meta_api_get_type (void)
|
gst_video_afd_meta_api_get_type (void)
|
||||||
{
|
{
|
||||||
static volatile GType type;
|
static volatile GType type = 0;
|
||||||
|
|
||||||
if (g_once_init_enter (&type)) {
|
if (g_once_init_enter (&type)) {
|
||||||
static const gchar *tags[] = {
|
static const gchar *tags[] = {
|
||||||
|
@ -1227,7 +1227,7 @@ gst_buffer_add_video_afd_meta (GstBuffer * buffer, guint8 field,
|
||||||
GType
|
GType
|
||||||
gst_video_bar_meta_api_get_type (void)
|
gst_video_bar_meta_api_get_type (void)
|
||||||
{
|
{
|
||||||
static volatile GType type;
|
static volatile GType type = 0;
|
||||||
|
|
||||||
if (g_once_init_enter (&type)) {
|
if (g_once_init_enter (&type)) {
|
||||||
static const gchar *tags[] = {
|
static const gchar *tags[] = {
|
||||||
|
|
Loading…
Reference in a new issue