After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 367221 - [PATCH] videomixer does not mix for some framerate combinations
[PATCH] videomixer does not mix for some framerate combinations
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
Other Linux
: Normal normal
: 0.10.5
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Reported: 2006-10-29 22:12 UTC by Mark Nauwelaerts
Modified: 2006-10-30 08:17 UTC
See Also:
GNOME target: ---
GNOME version: ---

Possible patch (579 bytes, patch)
2006-10-29 22:15 UTC, Mark Nauwelaerts
committed Details | Review

Description Mark Nauwelaerts 2006-10-29 22:12:56 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.
Comment 1 Mark Nauwelaerts 2006-10-29 22:15:34 UTC
Created attachment 75634 [details] [review]
Possible patch

Simple patch on the decision to release current buffer for a stream.
Comment 2 Wim Taymans 2006-10-30 08:17:20 UTC
        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.