Commit 01b2d9f0 authored by Mirsal Ennaime's avatar Mirsal Ennaime
Browse files

dbus: Fix handling of input events and remove memleaks

Correctly handle the INPUT_EVENT_ITEM_META and INPUT_EVENT_ITEM_META
instead of skipping the whole event processing code without even freeing
the callback_info_t data structure.

Closes: #8285
parent 1351dcd2
......@@ -932,10 +932,10 @@ static int InputCallback( vlc_object_t *p_this, const char *psz_var,
break;
case INPUT_EVENT_ITEM_META:
p_info->signal = SIGNAL_INPUT_METADATA;
return VLC_SUCCESS;
break;
case INPUT_EVENT_RATE:
p_info->signal = SIGNAL_RATE;
return VLC_SUCCESS;
break;
case INPUT_EVENT_POSITION:
{
mtime_t i_now = mdate(), i_pos, i_projected_pos, i_interval;
......
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