Skip to content

Commit 332fadd

Browse files
ddennedyCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d84c6b4 commit 332fadd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/framework/mlt.vers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,4 +695,4 @@ MLT_7.40.0 {
695695
mlt_frame_convert_image;
696696
mlt_frame_next_convert_image;
697697
mlt_frame_copy_convert_image;
698-
} MLT_7.34.0;
698+
} MLT_7.36.0;

src/framework/mlt_tractor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,10 +537,10 @@ static int producer_get_frame(mlt_producer parent, mlt_frame_ptr frame, int trac
537537
subtitle_properties);
538538
}
539539

540-
// Copy the format conversion callbacks
540+
// Copy only audio conversion callbacks here. Image conversion callbacks
541+
// must come from the track frame that is ultimately selected for video.
541542
if (!(*frame)->convert_audio && temp->convert_audio)
542543
(*frame)->convert_audio = temp->convert_audio;
543-
mlt_frame_copy_convert_image(*frame, temp);
544544

545545
// Check for last track
546546
done = mlt_properties_get_int(temp_properties, "last_track");

0 commit comments

Comments
 (0)