Skip to content

Commit

Permalink
Screen: Add zero-init for _gst_private padding in GstAppSink struct.
Browse files Browse the repository at this point in the history
To fix "missing initializer for GstAppSink _gst_private" compiler warning.
Lets see if this still compiles on Ubuntu 20.04/22.04 or not, to maybe
get rid of the annoying warning. -> Test pending.
  • Loading branch information
kleinerm committed Oct 7, 2024
1 parent 2ff51d1 commit b085093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,7 @@ static GstAppSinkCallbacks videosinkCallbacks = {
PsychNewPrerollCallback,
PsychNewBufferCallback,
0,
0,
0
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ static GstAppSinkCallbacks videosinkCallbacks = {
PsychNewPrerollCallback,
PsychNewBufferCallback,
0,
0,
0
};

Expand Down

0 comments on commit b085093

Please sign in to comment.