mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
freeze: Remove dead assignments
This commit is contained in:
parent
8356184967
commit
6507312e46
1 changed files with 0 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue