[Bug 735800] textoverlay: Two textoverlay in sequence fail to negotiate (regression)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 1 11:41:21 PDT 2014


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

Thiago Sousa Santos <thiagossantos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-09-01 18:41:17 UTC ---
There were a few unit tests with caps features scenarios, added one more with
the missing case that fakesink causes.

master:

commit 2157497405b5151d8fb7ee59fb10c809df6f0007
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date:   Mon Sep 1 15:23:27 2014 -0300

    tests: textoverlay: add test to reproduce fakesink scenario

    Adds a new test to textoverlay to make sure it can properly handle
    elements that have ANY caps but fail to add the overlay meta in
    the allocation query.

    This test verifies that textoverlay won't use the caps features even
    knowing that the overlay meta is accepted when querying the downstream
    caps because it also needs downstream to confirm by putting the meta
    in the allocation query.

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

commit a65b3073497fe92140d045561cc6808b789657d7
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date:   Mon Sep 1 12:38:02 2014 -0300

    basetextoverlay: properly fallback to non-overlay caps

    When downstream claims to accept the overlay meta but fails to
    provide it in the allocation query, properly fallback to setting
    a new caps without the overlay meta as that is not going to be used.

    Only do this if the original caps doesn't have the overlay already,
    otherwise there isn't much that can be done.

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

commit e783a366cb514561cc6b929b93d75ea834132f75
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Mon Sep 1 12:28:24 2014 +0300

    textoverlay: Don't hold any mutexes while calling negotiate

    It's not done in any other code calling negotiate and will cause deadlocks
    as it is sending events and queries in the pipeline.

    Specifically this pipeline was deadlocking:
    gst-launch-1.0 videotestsrc ! textoverlay ! textoverlay ! fakesink


1.4:
commit 18f01194fd67c9dbfa676f3885a15fbe20537a50
commit 0b8125326ba3f3648085f68ae670dd61659e371e
commit 382f4b7eaa401c5ac8d6be1ea2a33d41f4e0089b

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