[Bug 779604] New: Distorted egl picture on Raspberry before play

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Mar 5 08:10:03 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=779604

            Bug ID: 779604
           Summary: Distorted egl picture on Raspberry before play
    Classification: Platform
           Product: GStreamer
           Version: 1.11.x
                OS: other
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dcoder at dsp-worx.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I am using multiple Raspberries with a netclientclock to synchronize the video
playback. The gstreamer pipe is a simple playbin with a URL to the stream. I
also added bus listeners for buffering status and clock synchronization. The
server initializes the playbin on each raspberry and calls pause first. Calling
pause causes all players to start buffering and display an initial video frame.
At this point i am getting a random weird output on the screen, seems like
uninitialized memory. When the server issues the play command, the distorted
picture is gone.

What i have found so far is in gstglwindow_dispmanx_egl.c When
gst_gl_window_dispmanx_egl_create_window is called, the display is initialized
to 16x16. 

window_resize (window_egl, 16, 16, FALSE);

When i change this to be 

window_resize (window_egl, window_egl->dp_width, window_egl->dp_height, FALSE);

this issue is gone for me and i can see the initial video frame instead of
distortion but i guess this only works because i am playing back videos at the
same resolution of the display.

I have checked whether window_resize is being called during the buffering
process and this is definitely the case. I am getting the following output:

resizing visible window from 16x16 to 1920x1080

Maybe this resize is too late and happens after the initial frame has been
uploaded?

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