Skip to content

Commit 503af40

Browse files
Mr-DaveDevMr-Dave
authored andcommitted
Set packet stream_index for pass through
Closes #889
1 parent 1d65562 commit 503af40

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ffmpeg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,8 @@ static void ffmpeg_passthru_write(struct ffmpeg *ffmpeg, int indx){
989989
return;
990990
}
991991

992+
ffmpeg->pkt.stream_index = 0;
993+
992994
retcd = av_write_frame(ffmpeg->oc, &ffmpeg->pkt);
993995
my_packet_unref(ffmpeg->pkt);
994996
if (retcd < 0) {

0 commit comments

Comments
 (0)