Fixed warnings

This commit is contained in:
Robert Osfield 2021-01-18 16:33:34 +00:00
parent e8a9064eac
commit df901fba7a

View File

@ -22,6 +22,7 @@ GStreamerImageStream::GStreamerImageStream():
GStreamerImageStream::GStreamerImageStream(const GStreamerImageStream & image, const osg::CopyOp & copyop) : GStreamerImageStream::GStreamerImageStream(const GStreamerImageStream & image, const osg::CopyOp & copyop) :
osg::ImageStream(image, copyop), osg::ImageStream(image, copyop),
OpenThreads::Thread(),
_loop(0), _loop(0),
_pipeline(0), _pipeline(0),
_internal_buffer(0), _internal_buffer(0),
@ -239,7 +240,7 @@ GstFlowReturn GStreamerImageStream::on_new_preroll(GstAppSink *appsink, GStreame
return GST_FLOW_OK; return GST_FLOW_OK;
} }
gboolean GStreamerImageStream::on_message(GstBus *bus, GstMessage *message, GStreamerImageStream *user_data) gboolean GStreamerImageStream::on_message(GstBus* /*bus*/, GstMessage *message, GStreamerImageStream* user_data)
{ {
if( GST_MESSAGE_TYPE(message) == GST_MESSAGE_EOS) if( GST_MESSAGE_TYPE(message) == GST_MESSAGE_EOS)
{ {