vlc | branch: master | Felix Paul Kühne <[email protected]> | Fri Dec 18 
13:35:39 2015 +0100| [5f685c9fdce4c925949d7802b712bfe9bbe84433] | committer: 
Felix Paul Kühne

VT: fix warning and improve error message

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

 modules/codec/videotoolbox.m |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 7be2e7f..0b33a34 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -303,7 +303,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t 
*p_block)
         }
 
         size_t i_buf;
-        const uint8_t *p_buf = NULL;
+        uint8_t *p_buf = NULL;
         uint8_t *p_alloc_buf = NULL;
         int i_ret = 0;
 
@@ -563,7 +563,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t 
*p_block)
                 msg_Err(p_dec, "unsupported data");
                 break;
             case -12913:
-                msg_Err(p_dec, "VT is not available to sandboxed apps on this 
OS release");
+                msg_Err(p_dec, "VT is not available to sandboxed apps on this 
OS release or maximum number of decoders reached");
                 break;
             case -12917:
                 msg_Err(p_dec, "Insufficient source color data");

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to