summaryrefslogtreecommitdiff
path: root/sys/decklink
diff options
context:
space:
mode:
Diffstat (limited to 'sys/decklink')
-rw-r--r--sys/decklink/gstdecklinksink.cpp9
-rw-r--r--sys/decklink/gstdecklinksrc.cpp11
2 files changed, 0 insertions, 20 deletions
diff --git a/sys/decklink/gstdecklinksink.cpp b/sys/decklink/gstdecklinksink.cpp
index 9fc39e40b..43f78ebcf 100644
--- a/sys/decklink/gstdecklinksink.cpp
+++ b/sys/decklink/gstdecklinksink.cpp
@@ -314,10 +314,7 @@ void
gst_decklink_sink_set_property (GObject * object, guint property_id,
const GValue * value, GParamSpec * pspec)
{
- GstDecklinkSink *decklinksink;
-
g_return_if_fail (GST_IS_DECKLINK_SINK (object));
- decklinksink = GST_DECKLINK_SINK (object);
switch (property_id) {
default:
@@ -330,10 +327,7 @@ void
gst_decklink_sink_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
{
- GstDecklinkSink *decklinksink;
-
g_return_if_fail (GST_IS_DECKLINK_SINK (object));
- decklinksink = GST_DECKLINK_SINK (object);
switch (property_id) {
default:
@@ -345,10 +339,7 @@ gst_decklink_sink_get_property (GObject * object, guint property_id,
void
gst_decklink_sink_dispose (GObject * object)
{
- GstDecklinkSink *decklinksink;
-
g_return_if_fail (GST_IS_DECKLINK_SINK (object));
- decklinksink = GST_DECKLINK_SINK (object);
/* clean up as possible. may be called multiple times */
diff --git a/sys/decklink/gstdecklinksrc.cpp b/sys/decklink/gstdecklinksrc.cpp
index aa4246833..373cd9615 100644
--- a/sys/decklink/gstdecklinksrc.cpp
+++ b/sys/decklink/gstdecklinksrc.cpp
@@ -303,10 +303,7 @@ void
gst_decklink_src_set_property (GObject * object, guint property_id,
const GValue * value, GParamSpec * pspec)
{
- GstDecklinkSrc *decklinksrc;
-
g_return_if_fail (GST_IS_DECKLINK_SRC (object));
- decklinksrc = GST_DECKLINK_SRC (object);
switch (property_id) {
default:
@@ -319,10 +316,7 @@ void
gst_decklink_src_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
{
- GstDecklinkSrc *decklinksrc;
-
g_return_if_fail (GST_IS_DECKLINK_SRC (object));
- decklinksrc = GST_DECKLINK_SRC (object);
switch (property_id) {
default:
@@ -334,10 +328,7 @@ gst_decklink_src_get_property (GObject * object, guint property_id,
void
gst_decklink_src_dispose (GObject * object)
{
- GstDecklinkSrc *decklinksrc;
-
g_return_if_fail (GST_IS_DECKLINK_SRC (object));
- decklinksrc = GST_DECKLINK_SRC (object);
/* clean up as possible. may be called multiple times */
@@ -495,13 +486,11 @@ gst_decklink_src_stop (GstElement * element)
static GstStateChangeReturn
gst_decklink_src_change_state (GstElement * element, GstStateChange transition)
{
- GstDecklinkSrc *decklinksrc;
GstStateChangeReturn ret;
gboolean no_preroll = FALSE;
g_return_val_if_fail (GST_IS_DECKLINK_SRC (element),
GST_STATE_CHANGE_FAILURE);
- decklinksrc = GST_DECKLINK_SRC (element);
switch (transition) {
case GST_STATE_CHANGE_NULL_TO_READY: