Anton Khirnov (12023-12-01): > I can definitely say it is broken and I already told you why. But if you > want something more specific: > * the output of your example with the current master changes depending > on the number of decoder frame threads; my patch fixes that > * in fate-filter-overlay-dvdsub-2397 subtitles appear two frames too > early; again, my patch fixes that
Ok, some cases are broken. Fine, this is a hard task, some cases are impossible. That does not allow you to break cases that are currently working. > IIUC your suggestion was to send heartbeat packets from demuxer to > decoder, then have the decoder forward them to filtergraph. > > That is EXACTLY what I'm doing in the final patch, see [1]. It also does > not address this problem at all, because it is caused by the heartbeat > processing code making decisions based on > av_buffersrc_get_nb_failed_requests(), which fundamentally depends on > what frames previously arrived on the video input. Then fix it. I have given you a command that currently works and produces valid output: make sure it still works with your changes. And that will require sending heartbeat frames only when they are needed, keeping the current logic in place. -- Nicolas George _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".