summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorblake tregre <blake@oblong.com>2011-10-31 18:57:22 -0700
committerDavid Schleef <ds@schleef.org>2012-03-17 14:24:51 -0700
commit409e8dcc903be14dc4254b8106d50635044b8fd9 (patch)
treeff674306f28696667cd03f90d2ee675e6ca4a8f8 /sys
parent86eeca91de0cd5143ef23355cd8d4792d13e7b71 (diff)
downloadgstreamer-plugins-bad-409e8dcc903be14dc4254b8106d50635044b8fd9.tar.gz
decklinksrc: disable pull mode
decklink device doesn't support any pull mode related functionality. it's more like a live source, you see. Fixes: #667720.
Diffstat (limited to 'sys')
-rw-r--r--sys/decklink/gstdecklinksrc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/decklink/gstdecklinksrc.cpp b/sys/decklink/gstdecklinksrc.cpp
index 37fd59ae6..d2025a3a9 100644
--- a/sys/decklink/gstdecklinksrc.cpp
+++ b/sys/decklink/gstdecklinksrc.cpp
@@ -901,9 +901,8 @@ gst_decklink_src_audio_src_activatepull (GstPad * pad, gboolean active)
GST_DEBUG_OBJECT (decklinksrc, "activatepull");
-
gst_object_unref (decklinksrc);
- return TRUE;
+ return FALSE;
}
static GstPadLinkReturn
@@ -1096,7 +1095,7 @@ gst_decklink_src_video_src_activatepull (GstPad * pad, gboolean active)
gst_object_unref (decklinksrc);
- return TRUE;
+ return FALSE;
}
static GstPadLinkReturn