GNOME Bugzilla – Bug 728439
glimagesink: does not takes in account strides
Last modified: 2014-05-01 05:10:47 UTC
With big_buck_bunny_480p_h264.mov vtdec produces buffers with the following properties: n_planes = 1 stride = 1760 height = 480 size = 844800 osxvideosink displays the image correctly, but glimage sink produces the following errors: gstglmemory.c:638:_gl_mem_copy_thread: Cannot copy between textures with backing data of differentsizes. input 819840 output 818880 Can be reproduced with: gst-launch-1.0 filesrc location=/Users/fluendo/Downloads/big_buck_bunny_480p_h264.mov ! qtdemux ! vtdec ! glimagesink
cross-ref https://bugzilla.gnome.org/show_bug.cgi?id=728815
Should be fixed by: commit 598a79a5e21a03aa59a14e0c5976cf6458b1b373 Author: Matthew Waters <ystreet00@gmail.com> Date: Thu May 1 13:57:16 2014 +1000 gl/mem: implement texture copying between formats with strides properly Previously, we used the width to determine the amount of data to be copied using pbos. This, makes it allocate enough data for the the strides as well.