GNOME Bugzilla – Bug 367221
[PATCH] videomixer does not mix for some framerate combinations
Last modified: 2006-10-30 08:17:20 UTC
The example pipeline given in videomixer (which works ok) is videotestsrc pattern=1 ! video/x-raw-yuv, framerate=\(fraction\)10/1, width=100, height=100 ! videobox border-alpha=0 alpha=0.5 top=-70 bottom=-70 right=-220 ! videomixer name=mix ! ffmpegcolorspace ! xvimagesink videotestsrc ! video/x-raw-yuv, framerate=\(fraction\)5/1, width=320, height=240 ! alpha alpha=0.7 ! mix. However, if the 5/1 framerate is replaced by e.g. 7/1, this inputs stalls, and only a still frame is mixed with the other stream.
Created attachment 75634 [details] [review] Possible patch Simple patch on the decision to release current buffer for a stream.
Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/videomixer/videomixer.c: (gst_videomixer_update_queues): Fix videomixer so that it can handle any combination of framerates. Fixes #367221.