[Bug 795235] New: xvimagesink fails: unexpected XShm image size

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 13 16:50:07 UTC 2018


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

            Bug ID: 795235
           Summary: xvimagesink fails: unexpected XShm image size
    Classification: Platform
           Product: GStreamer
           Version: 1.8.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dwmw2 at infradead.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

On Ubuntu 16.04 with gst-plugins-base1.0 1.8.3-1ubuntu0.2, xvimagesink fails
for certain sizes of image. Originally seen when receiving a meeting screen
share in Pidgin, reproducible as follows:

$ gst-launch-1.0 -v videotestsrc  ! video/x-raw,width=905,height=720 !
xvimagesink 

0:00:00.226517317 29964       0xac6ed0 DEBUG       xvimageallocator
xvimageallocator.c:368:gst_xvimage_allocator_alloc:<xvimageallocator0> creating
image 0x7f9044010000 (905x720) cropped 0x0-905x720
0:00:00.247512347 29964       0xac6ed0 LOG         xvimageallocator
xvimageallocator.c:403:gst_xvimage_allocator_alloc:<xvimageallocator0> XShm
image size is 979200
0:00:00.247562372 29964       0xac6ed0 DEBUG       xvimageallocator
xvimageallocator.c:430:gst_xvimage_allocator_alloc:<xvimageallocator0> Plane 0
has a expected pitch of 908 bytes, offset of 0
0:00:00.247580732 29964       0xac6ed0 DEBUG       xvimageallocator
xvimageallocator.c:430:gst_xvimage_allocator_alloc:<xvimageallocator0> Plane 1
has a expected pitch of 456 bytes, offset of 653760
0:00:00.247594720 29964       0xac6ed0 DEBUG       xvimageallocator
xvimageallocator.c:430:gst_xvimage_allocator_alloc:<xvimageallocator0> Plane 2
has a expected pitch of 456 bytes, offset of 817920
0:00:00.247628325 29964       0xac6ed0 TRACE        GST_REFCOUNTING
gstminiobject.c:440:gst_mini_object_unref: 0xacc680 unref 1->0
0:00:00.247661566 29964       0xac6ed0 LOG               GST_BUFFER
gstbuffer.c:653:_gst_buffer_free: finalize 0xacc680
0:00:00.247669829 29964       0xac6ed0 WARN             xvimagepool
xvimagepool.c:200:xvimage_buffer_pool_alloc:<xvimagebufferpool1> can't create
image: unexpected XShm image size (got 979200, expected 982080)
0:00:00.247694236 29964       0xac6ed0 WARN              bufferpool
gstbufferpool.c:300:do_alloc_buffer:<xvimagebufferpool1> alloc function failed

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