[Bug 732040] New: Caps intersection problems with meta:GstVideoOverlayComposition

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 22 07:01:20 PDT 2014


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

           Summary: Caps intersection problems with
                    meta:GstVideoOverlayComposition
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: llandwerlin at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Trying to get the Totem to work with video decode, I'm now looking at a
scenario where I have a video with subtitles.
Here Totem is using the cluttergst video sink (master branch), which supports
buffer with overlay composition meta informations as well as gl texture upload.

Problem 1:

Initially ClutterGstVideoSink wasn't advertising the
meta:GstVideoOverlayComposition feature in its caps, even though through the
allocation query it would respond that it supports overlay composition.

The result is that the textoverlay plugin would not see that capability from
the video sink and therefore strips the meta:GstVideoGLTextureUploadMeta
feature from the video sink's caps response (response then used by the decoder
to determined whether gl textures can be sent through).

Problem 2:

After I added the meta:GstVideoOverlayComposition feature to the
ClutterGstVideoSink caps, playbin was unable to link the ClutterGstVideoSink
the videoconv/videoscale elements in the pipeline.

That is because there is not inclusive notion at the caps feature level, just
equality. So buffers sent from the decoder with
video/x-raw(meta:GstVideoGLTextureUploadMeta) caps and enriched with overlay
composition meta information by textoverlay, would not be linked to the caps of
video sink which is video/x-raw(meta:GstVideoGLTextureUploadMeta,
meta:GstVideoOverlayComposition).



For now I solved these problems by adding caps with and without
meta:GstVideoOverlayComposition feature to the ClutterGstVideoSink.

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