Skip to content

Commit

Permalink
Added fix for noetic
Browse files Browse the repository at this point in the history
  • Loading branch information
nkhedekar committed Jun 25, 2023
1 parent f9bcd8f commit 313f8cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gscam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,11 @@ namespace gscam {
gst_memory_unmap(memory, &info);
gst_memory_unref(memory);
#endif
#if(GST_VERSION_MAJOR >= 1 && GST_VERSION_MINOR >= 16)
gst_sample_unref(sample);
#else
gst_buffer_unref(buf);
#endif
}

ros::spinOnce();
Expand Down

0 comments on commit 313f8cc

Please sign in to comment.