Skip to content

Commit

Permalink
[LUS] 0510 remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeUSeob committed May 10, 2023
1 parent 3f80b96 commit d3d48eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/vm_sdk/impl/ffmpeg_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,6 @@ Future<String?> extractThumbnail(EditedMedia editedMedia) async {
if (mediaData.type == EMediaType.video) {
inputArguments.addAll(["-ss", editedMedia.startTime.toString()]);
}
// filterStrings.add(
// "${_getTransposeFilter(mediaData.orientation)}scale=${(mediaData.width * editedMedia.zoomX).floor()}:${(mediaData.height * editedMedia.zoomY).floor()},crop=${_resolution.width}:${_resolution.height}:${editedMedia.translateX}:${editedMedia.translateY},scale=${(_scaledVideoWidth / 2).floor()}:${(_scaledVideoHeight / 2).floor()},setdar=dar=${_scaledVideoWidth / _scaledVideoHeight}");

int cropLeft = max(0, (mediaData.width * editedMedia.cropLeft).floor());
int cropRight = min(mediaData.width, (mediaData.width * editedMedia.cropRight).floor());
Expand Down

0 comments on commit d3d48eb

Please sign in to comment.