Skip to content

Commit

Permalink
Fix audio index broken for audio only files
Browse files Browse the repository at this point in the history
  • Loading branch information
j-b-m authored and ddennedy committed Sep 1, 2023
1 parent 1e069ac commit f7adc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/avformat/producer_avformat.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ mlt_producer producer_avformat_init(mlt_profile profile, const char *service, ch
} else if (self->seekable) {
mlt_properties_set_int(properties,
"astream",
relative_stream_index(self->video_format,
relative_stream_index(self->audio_format,
AVMEDIA_TYPE_AUDIO,
self->audio_index));
mlt_properties_set_int(properties,
Expand Down

0 comments on commit f7adc15

Please sign in to comment.