On 08/12/2016 05:54 PM, Luca Barbato wrote:
>> The device option for hwupload_cuda filter does not have max and min limits 
>> defined right now.
>> Hence the min/max values are 0 by default, so anything outside the range 
>> [0,0] is not allowed.
>> This is causing problems in case of setup with multiple devices.
>> 
>> Please review the patch which adds these limits for device.
>> 

> Looks fine to me. What happens if the device index is over the actual maximum 
> ?


If the device index is over the actual maximum, cuDeviceGet in hwcontext_cuda.c 
fails and error is returned.

Thanks
Ruta 
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to