bluez: Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
This commit is contained in:
parent
93c66d5008
commit
1f8330784a
@ -143,8 +143,7 @@ gst_avdtp_sink_stop (GstBaseSink * basesink)
|
||||
}
|
||||
|
||||
if (self->stream) {
|
||||
g_io_channel_flush (self->stream, NULL);
|
||||
g_io_channel_close (self->stream);
|
||||
g_io_channel_shutdown (self->stream, TRUE, NULL);
|
||||
g_io_channel_unref (self->stream);
|
||||
self->stream = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user