Skip to content

imagefreeze: Fix example launch line format issue

The currently shown example launch line is invalid:

gst-launch-1.0 -v filesrc location=some.png ! decodebin ! imagefreeze ! autovideosink

While it works for jpg files of depth 24, it does not work for other formats. I tested png, bmp and tiff. Furthermore a jpg of depth 8 will also not work with the current launch line.

For a png image, decodebin creates the elements pngparse and pngdec but it fails to connect to imagefreeze.

Adding videoconvert either before or after imagefreeze fixes this and allows for any image format.

Merge request reports