Remove hard-coded mimetype.
This commit is contained in:
parent
8f1b86586a
commit
ef0eace8c5
@ -132,7 +132,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
|||||||
const char* mimetype = client->info.audio_mimetypes[i];
|
const char* mimetype = client->info.audio_mimetypes[i];
|
||||||
|
|
||||||
// If Ogg is supported, done.
|
// If Ogg is supported, done.
|
||||||
if (strcmp(mimetype, "audio/ogg") == 0) {
|
if (strcmp(mimetype, ogg_encoder->mimetype) == 0) {
|
||||||
guac_client_log_info(client, "Loading Ogg Vorbis encoder.");
|
guac_client_log_info(client, "Loading Ogg Vorbis encoder.");
|
||||||
guac_client_data->audio = audio_stream_alloc(client, ogg_encoder);
|
guac_client_data->audio = audio_stream_alloc(client, ogg_encoder);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user