]> git.sesse.net Git - vlc/blobdiff - src/video_output/vout_intf.c
Revert "vout_pictures: Use unsigned for width and height in picture_Export."
[vlc] / src / video_output / vout_intf.c
index 14d72e1bbb8825eb522c0f55726af7cdd30a3402..f8e7db6fbdf38739c331e89b2a1ddaf6eff08d2a 100644 (file)
@@ -435,8 +435,8 @@ int vout_GetSnapshot( vout_thread_t *p_vout,
         if( psz_format && image_Type2Fourcc( psz_format ) )
             i_format = image_Type2Fourcc( psz_format );
 
-        const unsigned i_override_width  = var_GetInteger( p_vout, "snapshot-width" );
-        const unsigned i_override_height = var_GetInteger( p_vout, "snapshot-height" );
+        const int i_override_width  = var_GetInteger( p_vout, "snapshot-width" );
+        const int i_override_height = var_GetInteger( p_vout, "snapshot-height" );
 
         if( picture_Export( VLC_OBJECT(p_vout), pp_image, p_fmt,
                             p_picture, i_format, i_override_width, i_override_height ) )