[vlc-commits] decoder: make vout creation failure recoverable

Rémi Denis-Courmont git at videolan.org
Thu Apr 23 20:42:15 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 23 19:00:12 2015 +0300| [82985a6f060b2f7b5dcbb2b5c43f035aead94f11] | committer: Rémi Denis-Courmont

decoder: make vout creation failure recoverable

The decoder can request another format, or even retry the same format
with better luck next time. So do not set b_error. b_error is for
unrecoverable failures, such as if the decoder module is upset.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82985a6f060b2f7b5dcbb2b5c43f035aead94f11
---

 src/input/decoder.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 38a5c69..e8eaf91 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -415,7 +415,6 @@ static int vout_update_format( decoder_t *p_dec )
         if( p_vout == NULL )
         {
             msg_Err( p_dec, "failed to create video output" );
-            p_dec->b_error = true;
             return -1;
         }
     }



More information about the vlc-commits mailing list