mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-client: load rdpdr when rdpsnd is loaded
This commit is contained in:
parent
c431208829
commit
ba0b4ee524
|
@ -833,7 +833,7 @@ FREERDP_API int freerdp_channels_send_event(rdpChannels* channels, wMessage* eve
|
|||
|
||||
if (!name)
|
||||
{
|
||||
DEBUG_CHANNELS("unknown event_class %d", event->event_class);
|
||||
DEBUG_CHANNELS("unknown event_class %d", GetMessageClass(event->id));
|
||||
freerdp_event_free(event);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -1661,6 +1661,7 @@ int freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings)
|
|||
if ((freerdp_static_channel_collection_find(settings, "rdpsnd")) ||
|
||||
(freerdp_dynamic_channel_collection_find(settings, "tsmf")))
|
||||
{
|
||||
settings->DeviceRedirection = TRUE; /* rdpsnd requires rdpdr to be registered */
|
||||
settings->AudioPlayback = TRUE; /* Both rdpsnd and tsmf require this flag to be set */
|
||||
}
|
||||
|
||||
|
|
|
@ -326,7 +326,8 @@ int svc_plugin_send_event(rdpSvcPlugin* plugin, wMessage* event)
|
|||
{
|
||||
UINT32 status = 0;
|
||||
|
||||
DEBUG_SVC("event_type %d", event->event_type);
|
||||
DEBUG_SVC("event class: %d type: %d",
|
||||
GetMessageClass(event->id), GetMessageType(event->id));
|
||||
|
||||
status = plugin->channel_entry_points.pVirtualChannelEventPush(plugin->open_handle, event);
|
||||
|
||||
|
|
Loading…
Reference in New Issue