When playing out video to a Decklink SDI 4K card I've found that all/most of the buffered frames get flushed instead of being displayed, essentially shortening the video by the amount of pre-roll. I found a way to fix this by adding a counter of outstanding frames, then delaying the call to StopScheduledPlayback until all frames are returned.
I would submit this as a patch, but this is my first attempt at any ffmpeg development so I wanted to see if this was the best way to fix this issue. Are the outstanding frames already counted some other way? Is blocking via sleep ideal? The StopScheduledPlayback has a pts parameter, which I assume means that it should only stop playback at that time - should this not prevent the issue I am seeing? Why would it flush the frames? Again, I'm new to all this so more information would be great. -- Matt _______________________________________________ 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".