From 409e8dcc903be14dc4254b8106d50635044b8fd9 Mon Sep 17 00:00:00 2001 From: blake tregre Date: Mon, 31 Oct 2011 18:57:22 -0700 Subject: [PATCH] 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. --- sys/decklink/gstdecklinksrc.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/decklink/gstdecklinksrc.cpp b/sys/decklink/gstdecklinksrc.cpp index 37fd59ae61..d2025a3a94 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