[Bug 734269] New: GLUpload didn't update texture properly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 5 03:17:41 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734269
  GStreamer | gst-plugins-bad | git

           Summary: GLUpload didn't update texture properly
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: comicfans44 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


if create a pipeline as 
appsrc ! gleffects ! glimagesink 

but didn't push buffer fast enough (slower than caps's FPS), gl render window
only redraw a few frames, and then stay at last frame.  but if triggered some
UI exposed event (move ,resize ,or other window overlay gl render window), some
frames updates ,then stay again. 

but this problem only happend on windows. linux works OK

if pipeline is 
appsrc ! glimagesink 
no such problem. (both windows and linux worked)


after some debug, I found 
_gst_gl_upload_perform_with_data_unlocked
use pointer compare 
 upload->in_tex[i]->data != data[i]
to determine if glmemory needs to be re-upload ,I'm not sure if this is
incorrect,
in pipeline appsrc ! gleffects ! glimagesink  
these two pointer almost equals every time on windows ,but different every time
on Linux. 

if without this condition check , problem gone.

-- 
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