Skip to content

Fix invalid volatile type for glibc 2.35 #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

KaiChuan-Hsieh
Copy link

Fixes: #10

@@ -246,7 +246,7 @@ static gboolean gst_cam_base_src_send_video_stream_start (GstCamBaseSrc *src, Gs
GType
gst_cam_base_src_get_type (void)
{
static volatile gsize cam_base_src_type = 0;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say this should be rewritten with G_DEFINE_TYPE_WITH_PRIVATE instead.

@hao-yao hao-yao merged commit 3a67edf into intel:icamerasrc_slim_api Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants