mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
bluez: Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
This commit is contained in:
parent
93c66d5008
commit
1f8330784a
1 changed files with 1 additions and 2 deletions
|
@ -143,8 +143,7 @@ gst_avdtp_sink_stop (GstBaseSink * basesink)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self->stream) {
|
if (self->stream) {
|
||||||
g_io_channel_flush (self->stream, NULL);
|
g_io_channel_shutdown (self->stream, TRUE, NULL);
|
||||||
g_io_channel_close (self->stream);
|
|
||||||
g_io_channel_unref (self->stream);
|
g_io_channel_unref (self->stream);
|
||||||
self->stream = NULL;
|
self->stream = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue