Commit 219ad3ee authored by Erwan Croze's avatar Erwan Croze 👋🏻

Fix return false if mediastreamer do not have qrcode lib

parent 95d56c15
......@@ -1749,7 +1749,11 @@ void video_preview_set_decode_rect(VideoPreview *stream, MSRect rect) {
bool_t video_preview_qrcode_enabled(VideoPreview *stream) {
return stream->enable_qrcode_decoder;
return FALSE;
static MSFilter* _video_preview_stop( VideoPreview* stream, bool_t keep_source) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment