Commit 56e739fd authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Media: Expose crop parameter

parent 62abf003
...@@ -753,21 +753,21 @@ public: ...@@ -753,21 +753,21 @@ public:
}; };
ThumbnailRequest* thumbnailRequestByTime( libvlc_time_t time, ThumbnailSeekSpeed speed, ThumbnailRequest* thumbnailRequestByTime( libvlc_time_t time, ThumbnailSeekSpeed speed,
uint32_t width, uint32_t height, uint32_t width, uint32_t height, bool crop,
Picture::Type type, libvlc_time_t timeout ) Picture::Type type, libvlc_time_t timeout )
{ {
return libvlc_media_thumbnail_request_by_time( *this, time, return libvlc_media_thumbnail_request_by_time( *this, time,
static_cast<libvlc_thumbnailer_seek_speed_t>( speed ), width, static_cast<libvlc_thumbnailer_seek_speed_t>( speed ), width,
height, static_cast<libvlc_picture_type_t>( type ), timeout ); height, crop, static_cast<libvlc_picture_type_t>( type ), timeout );
} }
ThumbnailRequest* thumbnailRequestByPos( float pos, ThumbnailSeekSpeed speed, ThumbnailRequest* thumbnailRequestByPos( float pos, ThumbnailSeekSpeed speed,
uint32_t width, uint32_t height, uint32_t width, uint32_t height, bool crop,
Picture::Type type, libvlc_time_t timeout ) Picture::Type type, libvlc_time_t timeout )
{ {
return libvlc_media_thumbnail_request_by_pos( *this, pos, return libvlc_media_thumbnail_request_by_pos( *this, pos,
static_cast<libvlc_thumbnailer_seek_speed_t>( speed ), width, static_cast<libvlc_thumbnailer_seek_speed_t>( speed ), width,
height, static_cast<libvlc_picture_type_t>( type ), timeout ); height, crop, static_cast<libvlc_picture_type_t>( type ), timeout );
} }
/** /**
......
Supports Markdown
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