Revision 5c20c81b

View differences:

ffmpeg.c
1698 1698
                        av_init_packet(&opkt);
1699 1699

  
1700 1700
                        if ((!ost->frame_number && !(pkt->flags & AV_PKT_FLAG_KEY)) && !copy_initial_nonkeyframes)
1701
                            continue;
1701
                            goto cont;
1702 1702

  
1703 1703
                        /* no reencoding needed : output the packet directly */
1704 1704
                        /* force the input stream PTS */
......
1746 1746
                        ost->frame_number++;
1747 1747
                        av_free_packet(&opkt);
1748 1748
                    }
1749
                    cont:
1749 1750
#if CONFIG_AVFILTER
1750 1751
                    frame_available = (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO) &&
1751 1752
                                       ost->output_video_filter && avfilter_poll_frame(ost->output_video_filter->inputs[0]);

Also available in: Unified diff