mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
[102/906] up
git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@514 93df14bb-0f41-7a43-8087-d3e2a2f0e464
This commit is contained in:
parent
b2ba65cb9b
commit
7bf48a45ff
1 changed files with 2 additions and 3 deletions
|
@ -132,7 +132,7 @@ static void
|
|||
gst_gl_colorscale_set_property (GObject* object, guint prop_id,
|
||||
const GValue* value, GParamSpec* pspec)
|
||||
{
|
||||
GstGLColorscale* colorscale = GST_GL_COLORSCALE (object);
|
||||
//GstGLColorscale* colorscale = GST_GL_COLORSCALE (object);
|
||||
|
||||
switch (prop_id)
|
||||
{
|
||||
|
@ -188,7 +188,7 @@ static GstCaps*
|
|||
gst_gl_colorscale_transform_caps (GstBaseTransform* bt,
|
||||
GstPadDirection direction, GstCaps* caps)
|
||||
{
|
||||
GstGLColorscale* colorscale = GST_GL_COLORSCALE (bt);
|
||||
//GstGLColorscale* colorscale = GST_GL_COLORSCALE (bt);
|
||||
GstStructure* structure = gst_caps_get_structure (caps, 0);
|
||||
GstCaps* newcaps = gst_caps_new_simple ("video/x-raw-yuv", NULL);
|
||||
GstCaps* newothercaps = gst_caps_new_simple ("video/x-raw-rgb", NULL);
|
||||
|
@ -435,7 +435,6 @@ gst_gl_colorscale_transform (GstBaseTransform* trans, GstBuffer* inbuf,
|
|||
GstBuffer* outbuf)
|
||||
{
|
||||
GstGLColorscale* colorscale = GST_GL_COLORSCALE (trans);
|
||||
guint outputTexture = 0;
|
||||
|
||||
//blocking call
|
||||
GstGLBuffer* gl_tembuf = gst_gl_buffer_new_from_video_format (colorscale->display,
|
||||
|
|
Loading…
Reference in a new issue