Commit 36108d26 authored by Mirsal Ennaime's avatar Mirsal Ennaime Committed by Jean-Baptiste Kempf

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
(cherry picked from commit 01b2d9f038211e91fd2348858d58931f0a48faa1)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 69fa5d84
......@@ -904,10 +904,10 @@ static int InputIntfEventCallback( intf_thread_t *p_intf,
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:
/* Detect seeks
* XXX: This is way more convoluted than it should be... */
......
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