gst_event_set_seqnum (event, selpad->segment_seqnum);
}
}
+
GST_DEBUG_OBJECT (pad, "configured SEGMENT %" GST_SEGMENT_FORMAT,
&selpad->segment);
break;
g_object_notify (G_OBJECT (active_sinkpad), "active");
g_object_notify (G_OBJECT (sel), "active-pad");
}
- if (prev_active_sinkpad)
- gst_object_unref (prev_active_sinkpad);
- prev_active_sinkpad = NULL;
/* if we have a pending events, push them now */
if (G_UNLIKELY (prev_active_sinkpad != active_sinkpad
selpad->events_pending = FALSE;
}
+ if (prev_active_sinkpad)
+ gst_object_unref (prev_active_sinkpad);
+ prev_active_sinkpad = NULL;
+
if (selpad->discont) {
buf = gst_buffer_make_writable (buf);