mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
bluez: Remove useless instruction.
This commit is contained in:
parent
c1eb112a6d
commit
621d857d49
1 changed files with 2 additions and 6 deletions
|
@ -425,14 +425,10 @@ gst_avdtp_sink_conf_recv_stream_fd (GstAvdtpSink * self)
|
||||||
static gboolean
|
static gboolean
|
||||||
server_callback (GIOChannel * chan, GIOCondition cond, gpointer data)
|
server_callback (GIOChannel * chan, GIOCondition cond, gpointer data)
|
||||||
{
|
{
|
||||||
GstAvdtpSink *sink;
|
|
||||||
|
|
||||||
if (cond & G_IO_HUP || cond & G_IO_NVAL)
|
if (cond & G_IO_HUP || cond & G_IO_NVAL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
else if (cond & G_IO_ERR) {
|
else if (cond & G_IO_ERR)
|
||||||
sink = GST_AVDTP_SINK (data);
|
GST_WARNING_OBJECT (GST_AVDTP_SINK (data), "Untreated callback G_IO_ERR");
|
||||||
GST_WARNING_OBJECT (sink, "Untreated callback G_IO_ERR");
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue