Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Leonhard Saam
libvlcpp
Commits
56e739fd
Commit
56e739fd
authored
Jun 21, 2019
by
Hugo Beauzée-Luyssen
Browse files
Media: Expose crop parameter
parent
62abf003
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlcpp/Media.hpp
View file @
56e739fd
...
...
@@ -753,21 +753,21 @@ public:
};
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
)
{
return
libvlc_media_thumbnail_request_by_time
(
*
this
,
time
,
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
,
uint32_t
width
,
uint32_t
height
,
uint32_t
width
,
uint32_t
height
,
bool
crop
,
Picture
::
Type
type
,
libvlc_time_t
timeout
)
{
return
libvlc_media_thumbnail_request_by_pos
(
*
this
,
pos
,
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
);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment