]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
clutter-gst-2.0: Skip VideoTexture.get_audio_streams/get_subtitle_tracks
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 1 Oct 2016 15:51:56 +0000 (17:51 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 1 Oct 2016 15:51:56 +0000 (17:51 +0200)
Upstream didn't implement the Player interface correctly, so the types are
not matching up.

vapi/clutter-gst-2.0.vapi
vapi/metadata/ClutterGst-2.0-custom.vala
vapi/metadata/ClutterGst-2.0.metadata

index 5d2196f8ea770dd1cbdd9053dd8d014612f88f80..10c85a4b95c6f45c52c280646591c47775b96019 100644 (file)
@@ -39,7 +39,7 @@ namespace ClutterGst {
        }
        [CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
        [Version (since = "1.4")]
-       public interface Player : Clutter.Media, GLib.Object, Clutter.Media {
+       public interface Player : Clutter.Media, GLib.Object {
                public static void class_init (GLib.ObjectClass object_class);
                public void deinit ();
                public abstract int get_audio_stream ();
index 3507b8832e2c2d6447e856f406e3723b59ae0df1..d1bae94e13740a5860b9b1aca9b43a221281459d 100644 (file)
@@ -3,7 +3,7 @@ namespace ClutterGst {
                [CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_CHECK_VERSION")]
                public static bool check(int major, int minor, int micro);
        }
-       public interface Player : Clutter.Media, GLib.Object {
+       public interface Player {
                public abstract Cogl.Handle idle_material { get; set; }
        }
 }
index 0aea27ca9a38938ccbabbca972a16b4e73dfd1a3..40f37db10ba2b46d8d505eab648119ecc5451292 100644 (file)
@@ -9,3 +9,7 @@ init_with_args
   .argv unowned
   .entries array nullable default=null
   .translation_domain nullable default=null
+
+VideoTexture
+  .get_audio_streams skip
+  .get_subtitle_tracks skip