diff options
Diffstat (limited to 'ext/dtls')
-rw-r--r-- | ext/dtls/gstdtlsconnection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dtls/gstdtlsconnection.c b/ext/dtls/gstdtlsconnection.c index e28703084..b9ea1efc7 100644 --- a/ext/dtls/gstdtlsconnection.c +++ b/ext/dtls/gstdtlsconnection.c @@ -1251,7 +1251,7 @@ bio_method_ctrl (BIO * bio, int cmd, long arg1, void *arg2) GST_LOG_OBJECT (self, "BIO: EOF reset"); return 1; case BIO_CTRL_EOF:{ - gint eof = !(priv->bio_buffer_len - priv->bio_buffer_offset); + gint eof = priv->is_alive == FALSE; GST_LOG_OBJECT (self, "BIO: EOF query returned %d", eof); return eof; } |