[Bug 740239] New: glshader receives no input from the pipeline

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 17 00:37:22 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740239
  GStreamer | gst-plugins-gl | 1.4.4

           Summary: glshader receives no input from the pipeline
    Classification: Platform
           Product: GStreamer
           Version: 1.4.4
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-gl
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: anton at fabrique.nl
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When using glshader, you can output image but there is no input. Does it still
expect the (deprecated) glupload?

This gives black image, though it should be a zero effect and just output the
input.

gst-launch-1.0 videotestsrc ! video/x-raw, width=1280, height=720 ! glshader
location=minimal.frag ! glimagesink

Where minimal.frag is:
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect tex;
void main() {
  gl_FragColor = texture2DRect(tex, gl_TexCoord[0].xy);
}


This (correctly) gives blue image:
gst-launch-1.0 videotestsrc ! video/x-raw, width=1280, height=720 ! glshader
location=blue.frag ! glimagesink

Where blue.frag is:
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect tex;
void main() {
  gl_FragColor = vec4(0,0,255,1.0);
}


This just works like it should:
gst-launch-1.0 videotestsrc ! video/x-raw, width=1280, height=720 ! gleffects
effect=4 ! glimagesink sync=false

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list