From b530fbaf635915110fe1f334060b0d6960615dca Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Sat, 2 Nov 2013 13:33:47 +0100 Subject: [PATCH] Bin, Pipeline: Added empty constructor Fixes crashes when accessing the Bin.base or Pipeline.base --- sources/custom/Bin.cs | 24 ++++++++++++++++++++++++ sources/custom/Pipeline.cs | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 sources/custom/Bin.cs create mode 100644 sources/custom/Pipeline.cs diff --git a/sources/custom/Bin.cs b/sources/custom/Bin.cs new file mode 100644 index 0000000000..2377f0acca --- /dev/null +++ b/sources/custom/Bin.cs @@ -0,0 +1,24 @@ +// Copyright (C) 2013 Stephan Sundermann +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +namespace Gst { + using System; + using System.Collections; + using System.Runtime.InteropServices; + + partial class Bin { + public Bin () : this (null) {} + } +} \ No newline at end of file diff --git a/sources/custom/Pipeline.cs b/sources/custom/Pipeline.cs new file mode 100644 index 0000000000..740727b6ba --- /dev/null +++ b/sources/custom/Pipeline.cs @@ -0,0 +1,24 @@ +// Copyright (C) 2013 Stephan Sundermann +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +namespace Gst { + using System; + using System.Collections; + using System.Runtime.InteropServices; + + partial class Pipeline { + public Pipeline () : this (null) {} + } +} \ No newline at end of file