Skip to content
Snippets Groups Projects
Commit 08214798 authored by Martin Finkel's avatar Martin Finkel Committed by Hugo Beauzée-Luyssen
Browse files

access: imem: Remove error logs confusing libvlc users

libvlc_media_new_callbacks does not set imem-get and imem-release.
Because of this, the following logs
imem Error: Invalid get/release function pointers
are confusing users. This commit aligns behavior with imem-access.c
which also returns VLC_EGENERIC silently for missing read_cb.
parent 33d6d8de
No related branches found
No related tags found
1 merge request!79access: imem: Remove error logs confusing libvlc users
Pipeline #94081 passed with stage
in 19 minutes and 25 seconds
......@@ -255,7 +255,6 @@ static int OpenCommon(vlc_object_t *object, imem_sys_t **sys_ptr, const char *ps
free(tmp);
if (!sys->source.get || !sys->source.release) {
msg_Err(object, "Invalid get/release function pointers");
return VLC_EGENERIC;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment