[gstreamermm: 165/167] added is_proxy_pad method to a pad class
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm: 165/167] added is_proxy_pad method to a pad class
- Date: Tue, 3 Sep 2013 19:32:57 +0000 (UTC)
commit 6f44c14194ce1a778e03a4aac40bbe06f2b7707b
Author: Marcin Kolny at Flytronic.pl <marcin kolny flytronic pl>
Date: Wed Aug 21 15:51:59 2013 +0200
added is_proxy_pad method to a pad class
gstreamer/src/pad.ccg | 5 +++++
gstreamer/src/pad.hg | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/pad.ccg b/gstreamer/src/pad.ccg
index 4fe223f..6d57f0d 100644
--- a/gstreamer/src/pad.ccg
+++ b/gstreamer/src/pad.ccg
@@ -204,6 +204,11 @@ bool Pad::is_ghost_pad() const
return GST_IS_GHOST_PAD(gobj());
}
+bool Pad::is_proxy_pad() const
+{
+ return GST_IS_PROXY_PAD(gobj());
+}
+
PadProbeInfo::PadProbeInfo()
: gobj_(g_try_new(GstPadProbeInfo, 1)),
take_ownership(true)
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index a485c6e..94342ca 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -425,6 +425,7 @@ public:
* Checks whether pad is a ghostpad.
*/
bool is_ghost_pad() const;
+ bool is_proxy_pad() const;
private:
SlotChain slot_chain;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]