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 745611 - video-sink: advertize the GstVideoOverlayComposition feature in caps
video-sink: advertize the GstVideoOverlayComposition feature in caps
Status: RESOLVED FIXED
Product: clutter-gst
Classification: Other
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-04 15:15 UTC by Matthieu Bouron
Modified: 2015-05-09 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
video-sink: advertize the GstVideoOverlayComposition feature in caps (1.28 KB, patch)
2015-03-04 15:18 UTC, Matthieu Bouron
none Details | Review
video-sink: advertize the GstVideoOverlayComposition feature in caps (1.77 KB, patch)
2015-03-04 17:04 UTC, Matthieu Bouron
none Details | Review
video-sink: advertize the GstVideoOverlayComposition feature in caps (1.77 KB, patch)
2015-04-09 08:37 UTC, Matthieu Bouron
none Details | Review

Description Matthieu Bouron 2015-03-04 15:15:53 UTC
The following patch let the video-sink advertize for the GstVideoOverlayComposition feature in the caps it returns and not only the static caps.

GST_DEBUG=pango:6  gst-launch-1.0 videotestsrc ! textoverlay text="foo" ! clutterautovideosink 2>&1 |grep 'Downstream accepts the overlay meta'

should now returns, something like:

0:00:00.094042545 14049      0x2f62400 DEBUG                  pango gstbasetextoverlay.c:761:gst_base_text_overlay_negotiate:<textoverlay0> Downstream accepts the overlay meta: 1
Comment 1 Matthieu Bouron 2015-03-04 15:18:12 UTC
Created attachment 298546 [details] [review]
video-sink: advertize the GstVideoOverlayComposition feature in caps
Comment 2 Matthieu Bouron 2015-03-04 17:04:38 UTC
Created attachment 298555 [details] [review]
video-sink: advertize the GstVideoOverlayComposition feature in caps

Patch updated:
  - the static caps now advertize missing video/x-raw(meta:GstVideoGLTextureUploadMeta, meta:GstVideoOverlayComposition),format=BGRA
  - append_cap now adds properly the GstVideoOverlayComposition feature to the non-fixed renderer caps.
Comment 3 Matthieu Bouron 2015-04-06 19:32:04 UTC
Ping.
Comment 4 Lionel Landwerlin 2015-04-08 12:41:29 UTC
I thought from our discussion on IRC, you had to update this patch. Am I wrong?
Comment 5 Matthieu Bouron 2015-04-09 08:35:44 UTC
I think the second version of the patch is fine and correct the issues we've discussed over IRC (Unless i've missed something, the patch works with the various color formats that the video-sink supports).
Comment 6 Matthieu Bouron 2015-04-09 08:37:09 UTC
Created attachment 301189 [details] [review]
video-sink: advertize the GstVideoOverlayComposition feature in caps

Patch rebased on top of current master.
Comment 7 Lionel Landwerlin 2015-05-09 14:07:14 UTC
Pushed to master/3.0, thanks and sorry for the delay.