• Sebastian Dröge's avatar
    avviddec: Make sure to use a buffer pool with the correct width/height... · 5df8cc5e
    Sebastian Dröge authored
    avviddec: Make sure to use a buffer pool with the correct width/height configured on it for pushing buffers downstream
    
    If downstream does not provide a (usable) pool, we would use our internal
    pool. But the internal pool might be configured with a different width/height
    because of padding, which then will cause problems if we push buffers from it
    directly downstream.
    Instead create a new pool if the width/height is different.
    
    This prevents crashes with vaapisink and d3dvideosink for example.
    
    Based on the debugging results and discussions with
    Nicolas Dufresne <nicolas.dufresne@collabora.com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758344
    5df8cc5e
Name
Last commit
Last update
common @ b3199090 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst-libs Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
tests Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-libav.doap Loading commit data...
gst-libav.spec.in Loading commit data...