Skip to content
Snippets Groups Projects
  • Seungha Yang's avatar
    aaeb76f0
    codecs: vp8decoder: Use GstFlowReturn everywhere · aaeb76f0
    Seungha Yang authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
    boolean return value is not sufficient for representing the reason
    of error in most cases. For instance, any errors around new_sequence()
    would mean negotiation error, not just *ERROR*.
    And some subclasses will allocate buffer/memory/surface on new_picture()
    but it could be failed because of expected error, likely flushing
    
    Part-of: <!2528>
    aaeb76f0
    History
    codecs: vp8decoder: Use GstFlowReturn everywhere
    Seungha Yang authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
    boolean return value is not sufficient for representing the reason
    of error in most cases. For instance, any errors around new_sequence()
    would mean negotiation error, not just *ERROR*.
    And some subclasses will allocate buffer/memory/surface on new_picture()
    but it could be failed because of expected error, likely flushing
    
    Part-of: <!2528>