services/internal/binarylib: Use mediainfo for upload

Use the mediainfo file for uploads, if it exists. Otherwise, fall back
to looking at the file extension.

Also remove all the timeouts from the library. If the callers want a
timeout, they should set one in the context themselves.

Change-Id: Ic05b4e9c5beda0df685ae8a77e29720c1cd8b3c4
1 file changed