GNOME Bugzilla – Bug 578583
[PATCH] multifdsink doesn't handle sync-method=latest-keyframe correctly
Last modified: 2009-04-12 20:26:40 UTC
Try this pipeline: GST_DEBUG=*multifd*:5 gst-launch-0.10 videotestsrc ! video/x-raw-yuv,width=160,height=120,framerate=1/1 ! ffenc_mpeg4 ! tcpserversink protocol=gdp sync-method=latest-keyframe You'll see that tcpserversink use a queue of only 3 frames while keyframes are created every 15 frames. Patch attached.
Created attachment 132452 [details] [review] fix check
commit 1beabc48e865ee4da0dcd430b1cc01afaddc8dfe Author: Luca Ognibene <luca.ognibene at gmail.com> Date: Sun Apr 12 22:26:33 2009 +0200 multifdsink: fix error in sync-method Multifdsink did not handle sync-method=latest-keyframe correctly when the soft-limit is set to -1 (unlimited). Fixes #578583.