gstrtspconnection: messages_bytes not decreased
authorJoakim Johansson <joakimj@axis.com>
Thu, 3 Oct 2019 10:03:09 +0000 (12:03 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 24 Oct 2019 12:00:36 +0000 (13:00 +0100)
commit7a7a1256287d19ac391bf7151d02cfd3be6abbe3
treef06ddda597c61b658d9080b11641138ab392627a
parent0018c6f2dd01a4c2edbbba0bb8881dc9ac99948c
gstrtspconnection: messages_bytes not decreased

The watch->messages_bytes is not decreased when the write operation
from the backlog is only partly successfull.

This commit decreases the watch->messages_bytes for the successfully
sent messages.

Fixes #679
gst-libs/gst/rtsp/gstrtspconnection.c