]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Tue, 20 Mar 2012 01:05:39 +0000 (01:05 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Tue, 20 Mar 2012 01:05:39 +0000 (01:05 +0000)
modules/ffmpeg/producer/ffmpeg_producer.cpp

index 6cc5f396831d874a2f0a1dd9d7275e9160b56b5a..45645786bc07e2b2deef6638977627b61ecd30ce 100644 (file)
@@ -356,7 +356,7 @@ public:
                muxer_.clear();\r
                \r
                // BEGIN HACK: There is no way to flush yadif. Need to poll 2 frames.\r
-               for(int n = 0; n < 25 && file_frame_number() != target+1; ++n)\r
+               for(int n = 0; n < 25 && file_frame_number() != target+2; ++n)\r
                {\r
                        decode_next_frame();\r
                        if(!muxer_.empty())\r