[Bug 669039] gstrtspconnection: new data may get sent even-though there is a queued message in the GstRTSPWatch

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 17 06:46:47 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=669039
  GStreamer | gst-plugins-base | 0.10.35

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.36

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-02-17 14:46:43 UTC ---
Nice catch, thanks for the patch!


commit f6e07b65a4dd63f1168a06aa31b45020a43226f4
Author: Ognyan Tonchev <ognyan at axis.com>
Date:   Mon Jan 30 15:55:26 2012 +0100

    rtspconnection: only send new data immediately if there are no queued
messages

    Even if watch->messages->length is 0 there may still be some
    data from a message that was only written partially at the
    previous attempt stored in watch->write_data, so check for
    that as well. We don't want to write data into the middle
    of another message, which could happen when there wasn't
    enough bandwidth.

    https://bugzilla.gnome.org/show_bug.cgi?id=669039

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list