Skip to content

Waterfall increasing frame size #2

@NielsH12

Description

@NielsH12

I've been trying to get the waterfall filter to work for some time now and I can't even get a simple audiotestsrc to work.
(gst-launch-0.10 audiotestsrc ! audioconvert ! cairovis_waterfall ! ximagesink)

I keep getting an internal dataflow error.

Poking around in the sourcecode, i found that cairo_surface_status() from line 310 returns CAIRO_STATUS_INVALID_SIZE after 23 frames.

Investigating the issue revealed that the size of the frames drawn seems to increase for every frame, as if the new frame is just added to the old one, once the size exceeds 32768, cairo_surface_status() returns the error.

It seems that setting history=1 (default=2) fixes the problem, but the x axis is completely off. Manually setting the range with x-min and x-max doesn't fix it.

I'm running
Ubuntu 16.04

With
gstreamer 0.10.36-2ubuntu0.1
cairo 1.14.6-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions