Skip to content

MovieWriterMJPEG doesn't work with module_jpg_enabled=no #90932

@kus04e4ek

Description

@kus04e4ek

Tested versions

master [9bc49a6]

Issue description

MovieWriterMJPEG uses save_jpg_to_buffer which is only implemented in jpg module:

Vector<uint8_t> jpg_buffer = p_image->save_jpg_to_buffer(quality);

Image::save_jpg_buffer_func = _jpgd_buffer_save_func;

Without jpg module there will be no video, only audio.
Perhaps MovieWriterMJPEG should be moved to jpg module or an error should be displayed.

Steps to reproduce

Record a video to .avi file fomat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Fix pending review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions