[Bug 797191] qtdemux: turn impossible condition into an assert

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 24 07:35:11 UTC 2018


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.15.1

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks!

commit bc0ea0dbbb4a5f10daa5292f1da4613584d5e3ae
Author: Alicia Boya García <aboya at igalia.com>
Date:   Sat Sep 22 17:22:46 2018 +0200

    qtdemux: turn impossible condition into an assert

    qtdemux_update_streams() is only ever called after checking
    `qtdemux->streams_aware` is TRUE. There is no need to check for that
    condition again.

    `qtdemux->streams_aware` is only modified when the demuxer is
    hard-resetted, which is mutually exclusive with demuxing, so it cannot
    be modified during the call.

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

-- 
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