After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739536 - subtitleoverlay: return available factory caps instead of any on caps query
subtitleoverlay: return available factory caps instead of any on caps query
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-02 19:19 UTC by Andreas Frisch
Modified: 2014-11-03 09:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
subtitleoverlay: return available factory caps instead of any on caps query (1.12 KB, patch)
2014-11-02 19:22 UTC, Andreas Frisch
none Details | Review
subtitleoverlay: return available factory CAPS instead of ANY on CAPS query (1.16 KB, patch)
2014-11-02 20:48 UTC, Andreas Frisch
committed Details | Review

Description Andreas Frisch 2014-11-02 19:19:31 UTC
i've discovered that the getcaps function of the subtitleoverlay element will always return either ANY or the given filter caps

patch: return gst_subtitle_overlay_create_factory_caps () instead of ANY, as suggested by slomo

to be attached
Comment 1 Andreas Frisch 2014-11-02 19:22:05 UTC
Created attachment 289849 [details] [review]
subtitleoverlay: return available factory caps instead of any on caps query
Comment 2 Andreas Frisch 2014-11-02 20:48:48 UTC
Created attachment 289851 [details] [review]
subtitleoverlay: return available factory CAPS instead of ANY on CAPS query

explicitely use GST_CAPS_INTERSECT_FIRST
Comment 3 Sebastian Dröge (slomo) 2014-11-03 07:21:02 UTC
commit bae96c85eed7fe5271924721055ea7be85e82cb7
Author: Andreas Frisch <fraxinas@opendreambox.org>
Date:   Sun Nov 2 21:45:30 2014 +0100

    subtitleoverlay: return available factory CAPS instead of ANY on CAPS query
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739536
Comment 4 Andreas Frisch 2014-11-03 09:47:19 UTC
Slomo, I just found this:
https://bugzilla.gnome.org/show_bug.cgi?id=688476