]> git.sesse.net Git - vlc/blobdiff - src/input/resource.c
Modified the prototype of vout_Request and unexport unused vout_Create.
[vlc] / src / input / resource.c
index 64cfa52d6ba7f0b1001926539037d91fcc417074..f4ae531fb1ef3d0a91046b7609073096d0a0b268 100644 (file)
@@ -242,7 +242,11 @@ static vout_thread_t *RequestVout( input_resource_t *p_resource,
         }
 
         /* */
-        p_vout = vout_Request( p_resource->p_input, p_vout, p_fmt );
+        vout_configuration_t cfg = {
+            .vout = p_vout,
+            .fmt  = p_fmt,
+        };
+        p_vout = vout_Request( p_resource->p_input, &cfg );
         if( !p_vout )
             return NULL;