gstrtspconnection: messages_bytes not decreased
authorJoakim Johansson <joakimj@axis.com>
Thu, 3 Oct 2019 10:03:09 +0000 (12:03 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 21 Oct 2019 09:58:27 +0000 (09:58 +0000)
commitf2b3e9b4a1e8e452d6e4eda06f4ef2576527a30c
tree8e0de5ddb8453307a2606de04d0bde0be7ee9f94
parent30672ba7d134553e59935ddc875104adba26f25c
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