Skip to content
  • Thiago Santos's avatar
    videodecoder: do not deactivate the bufferpool, just unref · 05e95710
    Thiago Santos authored
    Videodecoder does late renegotiation, it will wait for the next
    buffer before renegotiating its caps and bufferpool. It might happen
    that downstream element switched from passthrough to non-passthrough
    and sent a reconfigure upstream (that caused this renegotiation).
    This downstream element will ask the video sink below for the bufferpool
    with an allocation query and will get the same bufferpool that
    videodecoder is holding, too.
    
    When renegotiating, if videodecoder deactivates its bufferpool it
    might be deactivating the bufferpool that some element downstream
    is using and cause the pipeline to fail.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727498
    05e95710