Skip to content

Commit

Permalink
Hrmpf, should be reference, not profile
Browse files Browse the repository at this point in the history
  • Loading branch information
yoe committed Jan 18, 2025
1 parent bccf365 commit 6887d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sreview-cut
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ foreach my $row(@{$talk->avs_video_fragments}) {
}
if($prev_kf != $row->{fragment_start}) {
my $profile = Media::Convert::Asset::ProfileFactory->create($config->get("input_profile"), $input, $config->get("extra_profiles"));
my $temp = Media::Convert::Asset->new(url => "$tempdir/kftemp" . $row->{rawid} . ".mkv", %duration_args, profile => $profile);
my $temp = Media::Convert::Asset->new(url => "$tempdir/kftemp" . $row->{rawid} . ".mkv", %duration_args, reference => $profile);
$temp->fragment_start($prev_kf);
$temp->duration($cur_kf - $prev_kf);
$temp->force_key_frames($row->{fragment_start} - $prev_kf);
Expand Down

0 comments on commit 6887d1e

Please sign in to comment.