[vala/0.34] clutter-gst-2.0: Skip VideoTexture.get_audio_streams/get_subtitle_tracks



commit cebae640a0cc20d2298bb7020c521bdcdaed62d7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Oct 1 17:51:56 2016 +0200

    clutter-gst-2.0: Skip VideoTexture.get_audio_streams/get_subtitle_tracks
    
    Upstream didn't implement the Player interface correctly, so the types are
    not matching up.

 vapi/clutter-gst-2.0.vapi                |    2 +-
 vapi/metadata/ClutterGst-2.0-custom.vala |    2 +-
 vapi/metadata/ClutterGst-2.0.metadata    |    4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/clutter-gst-2.0.vapi b/vapi/clutter-gst-2.0.vapi
index 5d2196f..10c85a4 100644
--- a/vapi/clutter-gst-2.0.vapi
+++ b/vapi/clutter-gst-2.0.vapi
@@ -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 ();
diff --git a/vapi/metadata/ClutterGst-2.0-custom.vala b/vapi/metadata/ClutterGst-2.0-custom.vala
index 3507b88..d1bae94 100644
--- a/vapi/metadata/ClutterGst-2.0-custom.vala
+++ b/vapi/metadata/ClutterGst-2.0-custom.vala
@@ -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; }
        }
 }
diff --git a/vapi/metadata/ClutterGst-2.0.metadata b/vapi/metadata/ClutterGst-2.0.metadata
index 0aea27c..40f37db 100644
--- a/vapi/metadata/ClutterGst-2.0.metadata
+++ b/vapi/metadata/ClutterGst-2.0.metadata
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]