From 6507312e46a3726dda58336dec5f6be5663a6699 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 25 Nov 2010 19:06:49 +0100 Subject: [PATCH] freeze: Remove dead assignments --- gst/freeze/gstfreeze.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gst/freeze/gstfreeze.c b/gst/freeze/gstfreeze.c index bcb25a8..0d63eb7 100644 --- a/gst/freeze/gstfreeze.c +++ b/gst/freeze/gstfreeze.c @@ -233,7 +233,6 @@ static GstFlowReturn gst_freeze_play (GstPad * pad, GstBuffer * buff) { GstFreeze *freeze; - guint64 cur_offset; GstFlowReturn ret = GST_FLOW_OK; freeze = GST_FREEZE (gst_pad_get_parent (pad)); @@ -243,7 +242,6 @@ gst_freeze_play (GstPad * pad, GstBuffer * buff) return GST_FLOW_WRONG_STATE; } - cur_offset = freeze->offset; /* If it is working in push mode this function will be called by "_chain" and buff will never be NULL. In pull mode this function will be called by _loop and buff will be NULL */ @@ -303,10 +301,6 @@ gst_freeze_loop (GstPad * pad) static gboolean gst_freeze_sink_activate (GstPad * sinkpad) { - GstFreeze *freeze; - - freeze = GST_FREEZE (GST_PAD_PARENT (sinkpad)); - if (gst_pad_check_pull_range (sinkpad)) { return gst_pad_activate_pull (sinkpad, TRUE); } else { -- 2.7.4