summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2012-07-02 17:51:18 -0700
committerDavid Schleef <ds@schleef.org>2012-07-02 18:59:33 -0700
commitf050069301030622af48ee32c285f67074e1fa29 (patch)
tree0bfdcef3f13eb99f920faf36d59c9a574927b806
parentf252ed523bad2fa08a6f8c3a17ac518440bb81d5 (diff)
decklinksink: Mark element as sink element
-rw-r--r--sys/decklink/gstdecklinksink.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/decklink/gstdecklinksink.cpp b/sys/decklink/gstdecklinksink.cpp
index bbf08a73f..458b1b9c7 100644
--- a/sys/decklink/gstdecklinksink.cpp
+++ b/sys/decklink/gstdecklinksink.cpp
@@ -294,6 +294,7 @@ gst_decklink_sink_init (GstDecklinkSink * decklinksink,
GST_DEBUG_FUNCPTR (gst_decklink_sink_audiosink_iterintlink));
gst_element_add_pad (GST_ELEMENT (decklinksink), decklinksink->audiosinkpad);
+ GST_OBJECT_FLAG_SET (decklinksink, GST_ELEMENT_IS_SINK);
decklinksink->cond = g_cond_new ();
decklinksink->mutex = g_mutex_new ();