mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
[097/906] fix warnings
git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@509 93df14bb-0f41-7a43-8087-d3e2a2f0e464
This commit is contained in:
parent
129652c1ce
commit
54763f9ad3
1 changed files with 2 additions and 3 deletions
|
@ -132,7 +132,7 @@ static void
|
||||||
gst_gl_graphicmaker_set_property (GObject* object, guint prop_id,
|
gst_gl_graphicmaker_set_property (GObject* object, guint prop_id,
|
||||||
const GValue* value, GParamSpec* pspec)
|
const GValue* value, GParamSpec* pspec)
|
||||||
{
|
{
|
||||||
GstGLGraphicmaker* graphicmaker = GST_GL_GRAPHICMAKER (object);
|
//GstGLGraphicmaker* graphicmaker = GST_GL_GRAPHICMAKER (object);
|
||||||
|
|
||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
|
@ -188,7 +188,7 @@ static GstCaps*
|
||||||
gst_gl_graphicmaker_transform_caps (GstBaseTransform* bt,
|
gst_gl_graphicmaker_transform_caps (GstBaseTransform* bt,
|
||||||
GstPadDirection direction, GstCaps* caps)
|
GstPadDirection direction, GstCaps* caps)
|
||||||
{
|
{
|
||||||
GstGLGraphicmaker* graphicmaker = GST_GL_GRAPHICMAKER (bt);
|
//GstGLGraphicmaker* graphicmaker = GST_GL_GRAPHICMAKER (bt);
|
||||||
GstStructure* structure = gst_caps_get_structure (caps, 0);
|
GstStructure* structure = gst_caps_get_structure (caps, 0);
|
||||||
GstCaps* newcaps = NULL;
|
GstCaps* newcaps = NULL;
|
||||||
const GValue* framerate_value = NULL;
|
const GValue* framerate_value = NULL;
|
||||||
|
@ -462,7 +462,6 @@ gst_gl_graphicmaker_transform (GstBaseTransform* trans, GstBuffer* inbuf,
|
||||||
{
|
{
|
||||||
GstGLGraphicmaker* graphicmaker;
|
GstGLGraphicmaker* graphicmaker;
|
||||||
GstGLBuffer* gl_outbuf = GST_GL_BUFFER (outbuf);
|
GstGLBuffer* gl_outbuf = GST_GL_BUFFER (outbuf);
|
||||||
guint outputTexture = 0;
|
|
||||||
|
|
||||||
graphicmaker = GST_GL_GRAPHICMAKER (trans);
|
graphicmaker = GST_GL_GRAPHICMAKER (trans);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue