mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
signalprocessor: Remove dead assignments
This commit is contained in:
parent
3a507f9ef9
commit
e93ca3ac87
1 changed files with 0 additions and 7 deletions
|
@ -803,15 +803,12 @@ gst_signal_processor_update_outputs (GstSignalProcessor * self,
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_signal_processor_process (GstSignalProcessor * self, guint nframes)
|
gst_signal_processor_process (GstSignalProcessor * self, guint nframes)
|
||||||
{
|
{
|
||||||
GstElement *elem;
|
|
||||||
GstSignalProcessorClass *klass;
|
GstSignalProcessorClass *klass;
|
||||||
|
|
||||||
/* check if we have buffers enqueued */
|
/* check if we have buffers enqueued */
|
||||||
g_return_val_if_fail (self->pending_in == 0, FALSE);
|
g_return_val_if_fail (self->pending_in == 0, FALSE);
|
||||||
g_return_val_if_fail (self->pending_out == 0, FALSE);
|
g_return_val_if_fail (self->pending_out == 0, FALSE);
|
||||||
|
|
||||||
elem = GST_ELEMENT (self);
|
|
||||||
|
|
||||||
/* check how much input is available and prepare output buffers */
|
/* check how much input is available and prepare output buffers */
|
||||||
nframes = gst_signal_processor_prepare (self, nframes);
|
nframes = gst_signal_processor_prepare (self, nframes);
|
||||||
if (G_UNLIKELY (nframes == 0))
|
if (G_UNLIKELY (nframes == 0))
|
||||||
|
@ -1046,10 +1043,8 @@ gst_signal_processor_sink_activate_push (GstPad * pad, gboolean active)
|
||||||
{
|
{
|
||||||
gboolean result = TRUE;
|
gboolean result = TRUE;
|
||||||
GstSignalProcessor *self;
|
GstSignalProcessor *self;
|
||||||
GstSignalProcessorClass *bclass;
|
|
||||||
|
|
||||||
self = GST_SIGNAL_PROCESSOR (gst_pad_get_parent (pad));
|
self = GST_SIGNAL_PROCESSOR (gst_pad_get_parent (pad));
|
||||||
bclass = GST_SIGNAL_PROCESSOR_GET_CLASS (self);
|
|
||||||
|
|
||||||
if (active) {
|
if (active) {
|
||||||
if (self->mode == GST_ACTIVATE_NONE) {
|
if (self->mode == GST_ACTIVATE_NONE) {
|
||||||
|
@ -1085,10 +1080,8 @@ gst_signal_processor_src_activate_pull (GstPad * pad, gboolean active)
|
||||||
{
|
{
|
||||||
gboolean result = TRUE;
|
gboolean result = TRUE;
|
||||||
GstSignalProcessor *self;
|
GstSignalProcessor *self;
|
||||||
GstSignalProcessorClass *bclass;
|
|
||||||
|
|
||||||
self = GST_SIGNAL_PROCESSOR (gst_pad_get_parent (pad));
|
self = GST_SIGNAL_PROCESSOR (gst_pad_get_parent (pad));
|
||||||
bclass = GST_SIGNAL_PROCESSOR_GET_CLASS (self);
|
|
||||||
|
|
||||||
if (active) {
|
if (active) {
|
||||||
if (self->mode == GST_ACTIVATE_NONE) {
|
if (self->mode == GST_ACTIVATE_NONE) {
|
||||||
|
|
Loading…
Reference in a new issue