[Bug 706066] playbin fails to display large PNG files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 30 15:04:19 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=706066
  GStreamer | don't know | git

--- Comment #8 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2013-09-30 22:04:16 UTC ---
>From the logs, caps negotiation is working correctly. The issue is when calling
some shared memory handling functions. From xvimageallocator.c:455, one of
those is failing for you:

    /* get shared memory */
    mem->SHMInfo.shmid =
        shmget (IPC_PRIVATE, mem->xvimage->data_size + align, IPC_CREAT |
0777);
    if (mem->SHMInfo.shmid == -1)
      goto shmget_failed;

    /* attach */
    mem->SHMInfo.shmaddr = shmat (mem->SHMInfo.shmid, NULL, 0);
    if (mem->SHMInfo.shmaddr == ((void *) -1))
      goto shmat_failed;

    /* now we can set up the image data */
    mem->xvimage->data = mem->SHMInfo.shmaddr;
    mem->SHMInfo.readOnly = FALSE;

    if (XShmAttach (context->disp, &mem->SHMInfo) == 0)
      goto xattach_failed;

Unfortunately the log doesn't tell which one. Could you debug and report where
does it fail? It works here, could be something specific to your system.

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