[telepathy] [Bug 406676] ktp-call-ui depends on unmaintained qt-gstreamer

Alexandr Akulich bugzilla_noreply at kde.org
Sun Jul 7 01:24:41 BST 2019


https://bugs.kde.org/show_bug.cgi?id=406676

--- Comment #2 from Alexandr Akulich <akulichalexander at gmail.com> ---
Created attachment 121357
  --> https://bugs.kde.org/attachment.cgi?id=121357&action=edit
Patch for qt-gstreamer

Hi folks. I just found out this issue.
Recently I became a KDE Telepathy maintainer and though I'm not active here
(I'm busy with the underlying stuff), I'm kindly asking you to keep the project
in your repos for a bit longer.

The compilation error is caused by commit
https://gitlab.freedesktop.org/gstreamer/gstreamer/commit/b27ee943c2a44a5437a5343d21a9d2be918a1279

This commit introduces a brute C-style cast that prevents a compiler from
proper C++ casting. The workaround is trivial:

src/QGst/caps.cpp:57

 void Caps::append(const CapsPtr & caps2)
 {
-    gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
+    const GstCaps * caps2ptr = caps2;
+    gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2ptr));
 }

I'll try to reach the last qt-gstreamer maintainer to upstream the fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-telepathy-bugs mailing list