~ubuntu-branches/debian/jessie/banshee-community-extensions/jessie

« back to all changes in this revision

Viewing changes to src/StreamRecorder/Banshee.Streamrecorder/Gst/Marshaller.cs

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-05-07 17:12:01 UTC
  • mto: (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20110507171201-78kmrrgfcaw5utel
Tags: upstream-2.0.1
ImportĀ upstreamĀ versionĀ 2.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
         */
46
46
        public static bool Initialize ()
47
47
        {
 
48
            Init ();
48
49
            try {
49
50
                gst_version = VersionString ();
50
51
                DebugSetActive (false);
91
92
            return gst_event_new_eos ();
92
93
        }
93
94
 
 
95
        public static void Init ()
 
96
        {
 
97
            gst_init (IntPtr.Zero, IntPtr.Zero);
 
98
        }
 
99
 
94
100
        /* Helper Imports*/
95
101
        [DllImport("libgstreamer-0.10.so.0")]
96
102
        private static extern string gst_version_string ();
113
119
        [DllImport("libgstreamer-0.10.so.0")]
114
120
        unsafe public static extern IntPtr gst_event_new_eos ();
115
121
 
 
122
        [DllImport("libgstreamer-0.10.so.0")]
 
123
        unsafe public static extern void gst_init (IntPtr argc, IntPtr argv);
 
124
 
116
125
    }
117
126
 
118
127
}