• J
    libobs: Fix lockup when an encode call fails · 973d31b8
    jp9000 提交于
    (This commit also modifies the UI, obs-ffmpeg, and obs-output modules)
    
    Fixes a long-time regression where the program would lock up if an
    encode call fails.  Shuts down all outputs associated with the failing
    encoder and displays an error message to the user.
    
    Ideally, it would be best if a more detailed error could be displayed to
    the user about the nature of the error, though the primary problem is
    the encoder errors are typically not something the user would be able to
    understand.  The current message is a bit of a generic error message;
    improvement is welcome.
    
    Another suggestion is to try to have the encoder restart seamlessly,
    though it would take a significant amount of work to be able to make it
    do something like that properly, and it sort of assumes that encoder
    failures are sporadic, which may not necessarily be the case with some
    hardware encoders on some systems.  It may be better just to use another
    encoder in that case.  For now, seamless restart is ruled out.
    973d31b8
reference-outputs.rst 26.9 KB