Commit 5f685c9f authored by Felix Paul Kühne's avatar Felix Paul Kühne

VT: fix warning and improve error message

parent 13b6861d
...@@ -303,7 +303,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block) ...@@ -303,7 +303,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block)
} }
size_t i_buf; size_t i_buf;
const uint8_t *p_buf = NULL; uint8_t *p_buf = NULL;
uint8_t *p_alloc_buf = NULL; uint8_t *p_alloc_buf = NULL;
int i_ret = 0; int i_ret = 0;
...@@ -563,7 +563,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block) ...@@ -563,7 +563,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block)
msg_Err(p_dec, "unsupported data"); msg_Err(p_dec, "unsupported data");
break; break;
case -12913: 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; break;
case -12917: case -12917:
msg_Err(p_dec, "Insufficient source color data"); msg_Err(p_dec, "Insufficient source color data");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment